Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move next.js dependency from frontend/package.json to package.json #53

Open
the-rdt opened this issue Nov 15, 2021 · 2 comments
Open

Move next.js dependency from frontend/package.json to package.json #53

the-rdt opened this issue Nov 15, 2021 · 2 comments

Comments

@the-rdt
Copy link

the-rdt commented Nov 15, 2021

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.

Screenshot from 2021-11-15 21-01-07

Solutions Proposed :

  1. Move next.js dependency in package.json of root.
  2. Remove npm script "dev:client:" : "next ./frontend" from package.json of root.
@harshagrawal523
Copy link

Hi @the-rdt , Can I work on this issue?

@the-rdt
Copy link
Author

the-rdt commented Nov 19, 2021

Hi @the-rdt , Can I work on this issue?

I'm not sure if this action is approved.
@coditva what should be done here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants