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
/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
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!
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
The text was updated successfully, but these errors were encountered: