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
Currently next.js 11 is a dependency in frontend,
So command npm install installs next.js in frontend/node_modules,
But the command to launch frontend server npm run dev:client is in package.json of root directory,
So npm doesn't detect next.js on system and command fails.
Solutions Proposed :
Move next.js dependency in package.json of root.
Remove npm script "dev:client:" : "next ./frontend" from package.json of root.
The text was updated successfully, but these errors were encountered:
Currently
next.js 11
is a dependency in frontend,So command
npm install
installs next.js infrontend/node_modules
,But the command to launch frontend server
npm run dev:client
is in package.json of root directory,So npm doesn't detect next.js on system and command fails.
Solutions Proposed :
"dev:client:" : "next ./frontend"
from package.json of root.The text was updated successfully, but these errors were encountered: