Coder Social home page Coder Social logo

Cannot read properties of undefined (reading 'createNodeField'), gatsby-node.js:5:47 about gatsby-source-instance-name-for-remark HOT 2 CLOSED

sbstjn avatar sbstjn commented on July 21, 2024
Cannot read properties of undefined (reading 'createNodeField'), gatsby-node.js:5:47

from gatsby-source-instance-name-for-remark.

Comments (2)

bgprior avatar bgprior commented on July 21, 2024

Take it back. The sourceInstanceName didn't show up in graphiQL, and when I ran build again, the errors re-appeared. Perhaps a version problem? This is a new site, so gatsby 5.7.0, transformer-remark 6.7.0, react 18.2.0. These were the warnings on install (no errors, and these warnings occur on every plugin install, perhaps 5.7.0 is a bit too bleeding edge to be default?):

`$ npm install --save-dev gatsby-source-instance-name-for-remark
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN peer react@"18.x" from @gatsbyjs/[email protected]
npm WARN node_modules/@gatsbyjs/reach-router
npm WARN @gatsbyjs/reach-router@"^2.0.1" from [email protected]
npm WARN node_modules/gatsby
npm WARN 3 more (gatsby-link, gatsby-react-router-scroll, gatsby-script)
npm WARN 6 more (gatsby, gatsby-link, gatsby-react-router-scroll, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from [email protected]
npm WARN node_modules/react-server-dom-webpack
npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from [email protected]
npm WARN node_modules/gatsby
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"0.0.0-experimental-c8b778b7f-20220825" from [email protected]
npm WARN node_modules/react-server-dom-webpack
npm WARN react-server-dom-webpack@"0.0.0-experimental-c8b778b7f-20220825" from [email protected]
npm WARN node_modules/gatsby

added 1 package, and audited 1437 packages in 3s

308 packages are looking for funding
run npm fund for details

found 0 vulnerabilities`

from gatsby-source-instance-name-for-remark.

bgprior avatar bgprior commented on July 21, 2024

I realised that allFile.nodes.childMarkdownRemark does the same job without needing a plugin, so it's not important.

from gatsby-source-instance-name-for-remark.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.