HabitRPG / habitica

A habit tracker app which treats your goals like a Role Playing Game.

Home Page:https://habitica.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rafucuk opened this issue · comments

commented

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

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!

can we close this ticket, if have not been a response yet