ERROR #98124 WEBPACK Generating development SSR bundle failed Can't resolve '@reach/router/lib/utils' in '/Users/marcoadinolfi/Documents/dalyriumbay-sito/.cache' #33852
Unanswered
MarcoAdinolfi
asked this question in
Help
Replies: 1 comment 2 replies
-
|
Try this:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
just after upgrading gatsby-cli from 3.14.0 to 3.14.1 and npm to 8.1.2, gatsby develop keep failing, it gives this error:
`ERROR #98124 WEBPACK
Generating development SSR bundle failed
Can't resolve '@reach/router/lib/utils' in
'/Users/marcoadinolfi/Documents/dalyriumbay-sito/.cache'
If you're trying to use a package make sure that '@reach/router/lib/utils' is
installed. If you're trying to use a local file make sure that the path is
correct.
File: .cache/find-path.js`
I tried to restore the system as it was before by copying all the old dependecies in package.json and package-lock.json but it still doesn't work.
I also already tried with gatsby clean.
Does anyone know why does it happen? What can I do make it work again?
Further info:
Gatsby CLI version: 4.1.0
Gatsby version: 2.32.13
NPM version: 8.1.2
Node version: 14.16.0
Thank you
Beta Was this translation helpful? Give feedback.
All reactions