gatsby develop throwing Error: Cannot find module 'gatsby/dist/utils/develop'

Created on 14 Oct 2017  路  4Comments  路  Source: gatsbyjs/gatsby

Running "gatsby develop" with latest build is throwing the following error.

module.js:491
    throw err;
    ^

Error: Cannot find module 'gatsby/dist/utils/develop'
    at Function.Module._resolveFilename (module.js:489:15)

however it works fine with "npm run develop"

Most helpful comment

npm install --global gatsby-cli@latest

All 4 comments

Just a check, but did you update gatsby-cli as well?

i see that mine is v1.0.12, while latest is v1.1.10.

sorry for the noob question but, how do i update it?

npm install --global gatsby-cli@latest

its working now. thanks!

Was this page helpful?
0 / 5 - 0 ratings