baptiste
(Baptiste Nonat)
June 11, 2020, 4:31pm
1
Hi all,
The installation of the module gatsby-source-prismic-graphql return an error :
Error: Cannot find module './third-party/gatsby-node'
I have seen there is an issue on the Github repo of the module : Cannot find module './third-party/gatsby-node' · Issue #217 · birkir/gatsby-source-prismic-graphql · GitHub , but no solution at the moment.
Do you have any idea to make it works ?
Thanks for help !
Steps to reproduce :
Install the Gatsby CLI
npm install -g gatsby-cli
Create a new site
gatsby new gatsby-site
Change directories into site folder
cd gatsby-site
Install the plugin
npm install --save gatsby-source-prismic-graphql
Add plugin to gatsby-config.js
and configure
Following the documentation
Lauch development server
gatsby develop
1 Like
I had the same issue. This fix, further down in that thread, worked for me:
opened 08:31AM - 28 May 20 UTC
Getting an error on build;
Error in "C:...\node_modules\gatsby-source-prismic-graphql\gatsby-node.js": Cannot find module './third-party/gatsby-node'
Any ideas?
Thanks
Joe
Phil
(Phil Snow)
June 15, 2020, 2:08pm
5
Hey Team,
Welcome to the community @baptiste !
I'm aware of this issue also, so I'm tagging @Prismic-Dev-Team so hopefully someone can have a look at this.
We'll keep you updated.
Thanks.
Any update on this? I am getting the same issue when deploying to netlify.
Phil
(Phil Snow)
June 22, 2020, 1:59pm
8
Hey Stephen,
No update yet, we’ll update you here once we get the PR deployed.
corentin
(Groupe Bouillier)
June 29, 2020, 8:52am
9
Hello, still no update :’(
jackson
(Jackson Geller)
July 1, 2020, 5:46pm
10
Hi any update here? Our team wants to use Prismic, but its just not working at all with gatsby.
opened 04:36PM - 29 Jun 20 UTC
The static queries stop to work, when the gatsby-source-prismic-graphql plugin is configured to be used. The problem is that the query...
opened 08:31AM - 28 May 20 UTC
Getting an error on build;
Error in "C:...\node_modules\gatsby-source-prismic-graphql\gatsby-node.js": Cannot find module './third-party/gatsby-node'
Any ideas?
Thanks
Joe
tearockca
(TeaRock Canada)
July 9, 2020, 12:02am
11
Sorry to add on but any update or work around? I was planning to use prismic as my CMS for my new company website but this is preventing me from doing so.
Thank you,
TeaRock - James
1 Like
Phil
(Phil Snow)
July 9, 2020, 8:29am
12
Hi @jackson & the @tearockca team,
Welcome to the community!
We had some issues with publishing permission to push our updates to the plugin, so we have made a fork so that we can be more reactive.
You can find it here:
You will have to uninstall the other, then install this one:
npm install --save @prismicio/gatsby-source-prismic-graphql
or
yarn add @prismicio/gatsby-source-prismic-graphql
and replace any references to the plugin:
In the Gatsby config
In the Gatsby Browser
My colleague @marc.mcintosh is now working on this.
Hopefully this should help for some of your cases.
Thanks.
Yes,
if there are any problems with the plugin, open up an issue on github and I’ll see what i can do
mgilbride
(Matt Gilbride)
July 15, 2020, 12:33pm
14
Hi @marc.mcintosh , and thanks so much for taking this on.
I’ve opened up an issue here, just wondering what the long term direction is: https://github.com/prismicio/gatsby-source-prismic-graphql/issues/14
Can you provide any insight there?
Fares
closed , flag & select 'Something Else' to reopen.
September 23, 2020, 2:36pm
16
This issue has been closed due to inactivity.