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
I created a new project yesterday using the stable version of next.js. However, I was feeling adventurous and tried upgrading next using the command npm install --save next@beta. Everything went well, except for some unmet peer deps.:
When I ran npm run dev, Next refuses to start and throws the following error message:
❯ npm run dev
> [email protected] dev /Users/vernon/Sites/ecurring-homepage
> next
Error: Cannot find module 'react'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/vernon/Sites/ecurring-homepage/node_modules/next/dist/server/render.js:277:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
The only dependencies that are listed in my package.json are:
Hi!
I created a new project yesterday using the stable version of next.js. However, I was feeling adventurous and tried upgrading next using the command
npm install --save next@beta
. Everything went well, except for some unmet peer deps.:When I ran
npm run dev
, Next refuses to start and throws the following error message:The only dependencies that are listed in my
package.json
are:Am I missing something?
The text was updated successfully, but these errors were encountered: