project ran fine last I checked. suddenly it crashes, this is the first error:
will reinstalling packages fix it??
maybe I have to do the solution to this issue first in order to run npm ci… im guessing these things will fix it… i dont know:
Tell us what’s happening:
I am following this guide and i got stuck because of an error i get when running the command
npm run seed
here is the error:
➜ freeCodeCamp git:(main) npm run seed
> @freecodecamp/freecodecamp@0.0.1 seed /home/robdll/code/opensource/freeCodeCamp
> cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'mongodb'
Require stack:
- /home/robdll/code/opensource/freeCodeCamp/tools/sc…
because when I try to run npm ci it says:
so if i update node version than maybe i can reinstall, I thought I didnt have to worry about any version because of docker…
edit:
I thought this will work but its very slow chokidar upgrade warnings… its stuck:
solution is here and you should update node using nvm in the Ubuntu terminal, you can leave the windows command prompt with an outdated version it doesnt matter
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
system
Closed
February 8, 2023, 3:58pm
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.