Thanks so much for your input. That did not work for me. What did work was following kinganes’ suggestion on this thread:
I got it solved like this:
- Create new blank folder and open terminal
- writ “npm init” and follow the steps in the command line (you have to give ur name and project name and so on)
- you install all the dependencies that mosh installed
→ I opened the package.json and looked all the dependencies on GitHub and installed them into the blank folder
Those are the dependencies that I installed :
“body-parser”: “^”,
“compression”: “^”,
“config”: “^”,
“expo-server-sdk”: “^”,
“express”: “^”,
“helmet”: “^”,
“joi”: “^”,
“jsonwebtoken”: “^”,
“multer”: “^”,
“sharp”: “^” - After I installed everything I copied (except for the package.json) the files from mosh into the blank folder where I just installed all the node modules
- From here you can go on like in the Video → npm I and it should work.
The only error after this was:
(node:92507) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)