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

'habitica' should be listed in the project's dependencies. #15039

Open
rafucuk opened this issue Dec 9, 2023 · 1 comment
Open

'habitica' should be listed in the project's dependencies. #15039

rafucuk opened this issue Dec 9, 2023 · 1 comment

Comments

@rafucuk
Copy link

rafucuk commented Dec 9, 2023

General Info

Ubuntu,
ubuntu@mail:~/habitica$ node --version; npm --version
v14.21.3
6.14.18

Description

npm run client:dev returns the error bellow

Console Errors

error in ./src/store/index.js

Module Error (from ./node_modules/eslint-loader/index.js):

/home/ubuntu/habitica/website/client/src/store/index.js
3:1 error 'habitica' should be listed in the project's dependencies. Run 'npm i -S habitica' to add it import/no-extraneous-dependencies
4:1 error 'habitica' should be listed in the project's dependencies. Run 'npm i -S habitica' to add it import/no-extraneous-dependencies
5:1 error 'habitica' should be listed in the project's dependencies. Run 'npm i -S habitica' to add it import/no-extraneous-dependencies

✖ 3 problems (3 errors, 0 warnings)

@ ./src/main.js 12:0-31 38:12-20
@ multi (webpack)-dev-server/client?http://localhost:8081&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

@CuriousMagpie
Copy link
Member

Have you tried running npm ci to get a clean install of all the dependencies? We are on Node 20 and MongoDB 5.0.23 now. These updates may clear up your issue. Let us know if they do!

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

No branches or pull requests

2 participants