You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run or build my site locally everything works correctly but when I deploy to Netlify, the latest version of all of the plugins are used and it has been failing to build since last Friday with the following error :
TypeError: createNodeId is not a function
- normalize.js:170
[repo]/[gatsby-source-wordpress]/normalize.js:170:12
- Array.map
- normalize.js:169 Object.exports.createGatsbyIds
[repo]/[gatsby-source-wordpress]/normalize.js:169:19
- gatsby-node.js:102 _callee$
[repo]/[gatsby-source-wordpress]/gatsby-node.js:102:34
- next_tick.js:73 _combinedTickCallback
internal/process/next_tick.js:73:7
- next_tick.js:104 process._tickCallback
internal/process/next_tick.js:104:9
When I specify version 2.0.37 of the Gatsby Wordpress plugin in package.json everything builds correctly on Netlify.
My package.json now reads as follows and everything works correctly.
Excellent, thanks @pieh , I'm not sure why Netlify was using the latest version of the WP plugin but not using the latest version of Gatsby itself. Once changed to "gatsby": "^1.9.167", everything builds correctly.
Description
When I run or build my site locally everything works correctly but when I deploy to Netlify, the latest version of all of the plugins are used and it has been failing to build since last Friday with the following error :
When I specify version 2.0.37 of the Gatsby Wordpress plugin in package.json everything builds correctly on Netlify.
My package.json now reads as follows and everything works correctly.
The text was updated successfully, but these errors were encountered: