Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
669 views
in Technique[技术] by (71.8m points)

node.js - Node modules error when starting application

I am getting the following error when starting my app.

Errors on startup

I tried updating node, mongo, and typescript but that didn't help. It was working before until it just stopped suddenly, and I didn't touch any of the files listed in the error. You can also take a look at tsconfig.json

tsconfig.json

and tsconfig.build.json

tsconfig.build.json.

How to solve this problem?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

After looking on the logs. I would suggest this:

  1. remove node_modules
  2. npm i
  3. try to run project

Mostly error are related to the conflicts. It might be due to the updation of your angular, node and mongoose version.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...