Scenario: Node and NPM are installed locally, but the node version is lower than 8.0.0, so the node version management tool N is used to upgrade the version. After the upgrade, koA is installed and an error is reported
Cause: Changes to the node version on which NPM depends
Solution: 1. Remove NPM NPM Uninstall NPM-g 2. Reinstall Node, because NPM will be installed at the same time that Node is installed
Reproduced in: https://juejin.im/post/5c9c915a6fb9a070d90f753e
Read More:
- NPM error ‘cannot find module’ internal / util / types’ solution;
- Cannot find module ‘internal / util / types’ appears during gulp build
- After installing nodejs, run NPM on the command line and report error: cannot find module ‘internal / util / types’
- Install wampserver and prompt could not execute menu item internal error
- Module build failed: error: cannot find module ‘node sass’ error
- Node.js Cannot find module ‘mysql’ ‘express’
- Vue project startup error: cannot find module XXX
- Cannot find module ‘body-parser’
- Error: Cannot find module ‘express’
- (node:268660) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘yallist‘
- NPM- Cannot find module ‘xxxxx’
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Python error: importerror: DLL load failed: unable to find the specified module solution
- Cannot find module ‘lodash’
- Error: cannot find module ‘node sass’
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- Error: Cannot find module ‘process-nextick-args’
- Error: Cannot find module ‘webpack/schemas/WebpackOptions.json’
- nodejs Error: Cannot find module ‘ejs‘
- Error: cannot find module ‘mongoose’