Open the terminal and enter nodemon./index.js. The following error messages appear:
Solution:
After entering the directory where index.js is located
delete node_ Module
folder and package lock.json
file open the terminal, type NPM clean cache
, clear the cache, type NPM I
, and type nodemon index. JS
for installation dependency
Run nodemon./index.js again
Perfect solution~
Read More:
- Error: Cannot find module ‘./application‘ [How to Solve]
- How to Solve Vue3 jweixin-module Error
- [Solved] Syntax Error: Error: Cannot find module ‘cache-loader‘
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- How to Solve npm-install Command -4048 Error
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- [Solved] ERROR Error: Cannot find module ‘vue-loader-v16/package.json‘
- How to Solve MAC electronic installation dependent startup error
- Node.js Error: Cannot find module express [How to Solve]
- Error Cannot find module ‘worker_threads‘ [How to Solve]
- [Solved] Error: Cannot find module ‘vue-template-compiler/package.json‘ Require stack:
- Json.parse: All Error & How to Solve Them
- [webpack-cli] Error: Cannot find module ‘vue/compiler-sfc‘
- React: How to Solve Web3 import error
- How to Solve NPM installation -g @view/client Error
- Node.js Error: Error: Cannot find module ‘express‘ [How to Solve]
- [Solved] Node error: Error: Cannot find module ‘body-parser‘