Error: Cannot find module './application'

Appears "connot find module './application'" error when class command, you can refer to the following solutions

1. Under the project folder (you can back up what items just in case) node_modules delete files and package-lock.json file. Note that not package.json (if deleted can not afford, look at the project is not opened, closed and then try)
2. Run npm install under the project, the results are as follows
Here Insert Picture Description
3. Run nodemon index.js again, the problem is resolved. Results are as follows:
Here Insert Picture Description

Published 10 original articles · won praise 1 · views 125

Guess you like

Origin blog.csdn.net/weixin_45912307/article/details/104335311