# Gridsome w/ @prismicio/client - Missing Loader

**URL:** <https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776>\
**Category:** Developing with Prismic\
**Tags:** javascript\
**Created:** [March 25, 2023, 5:43pm UTC](https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776 "2023-03-25T17:43:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james0r](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/james0r/32/4065_2.png) [@james0r](https://community.prismic.io/u/james0r)\
**Post date:** [March 25, 2023, 5:43pm UTC](https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776/1 "2023-03-25T17:43:52Z")

</div>

Steps:

```auto
npm i @prismicio/client @prismicio/helpers

import * as prismic from '@prismicio/client'

```

Getting

```auto
 ERROR Failed to compile with 2 errors 10:35:13 AM

 error in ./node_modules/@prismicio/client/dist/client.js

Module parse failed: Unexpected token (102:90)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const actualParams = { ...params };
| if (!(params && params.page) && !(params == null ? void 0 : params.pageSize)) {
> actualParams.pageSize = ((_a = this.defaultParams) == null ? void 0 : _a.pageSize) ?? 1;
| }
| const url = await this.buildQueryURL(actualParams);

 @ ./node_modules/@prismicio/client/dist/index.js 8:0-51 19:0-37:2 19:0-37:2
 @ ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/gridsome/node_modules/babel-loader/lib??ref--1-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/Search.vue?vue&type=script&lang=js&
 @ ./src/pages/Search.vue?vue&type=script&lang=js&
 @ ./src/pages/Search.vue
 @ ./src/.temp/routes.js
 @ ./node_modules/gridsome/app/router.js
 @ ./node_modules/gridsome/app/entry.sockjs.js
 @ multi webpack/hot/dev-server webpack-hot-middleware/client?name=app&reload=true&noInfo=true ./node_modules/gridsome/app/entry.client.js ./node_modules/gridsome/app/entry.sockjs.js

```

in the console. Looks like a webpack loader is missing but but can't narrow down what I need.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [March 28, 2023, 10:01am UTC](https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776/3 "2023-03-28T10:01:28Z")

</div>

Hello @james0r ,

Thanks for reaching out to us.

I'm sorry I can't help with Gridsome w/ @prismicio/client. Officially, we don't have documentation for Gridsome and don't provide support for it. So implementing with @prismicio/client may require some additional configuration.

I will discuss it with my team and will come back to you if they have any insights for implementing it.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [November 18, 2024, 9:43am UTC](https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776/5 "2024-11-18T09:43:45Z")

</div>

A post was merged into an existing topic: [ERROR in ./node\_modules/@prismicio/client/dist/client.js](https://community.prismic.io/t/error-in-node-modules-prismicio-client-dist-client-js/12836/6)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [November 18, 2024, 9:43am UTC](https://community.prismic.io/t/gridsome-w-prismicio-client-missing-loader/12776/6 "2024-11-18T09:43:53Z")

</div>


