bailicangdu/vue2-manage

npm run dev error

lelise opened this issue · 0 comments

执行npm run dev error
Error: Cannot find module 'chalk'
Require stack:

  • /Volumes/code/vue/build/check-versions.js
  • /Volumes/code/vue/build/dev-server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
    at Module._load (node:internal/modules/cjs/loader:833:27)
    at Module.require (node:internal/modules/cjs/loader:1051:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object. (/Volumes/code/vue/build/check-versions.js:1:13)
    at Module._compile (node:internal/modules/cjs/loader:1149:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)
    at Module.load (node:internal/modules/cjs/loader:1027:32)
    at Module._load (node:internal/modules/cjs/loader:868:12)
    at Module.require (node:internal/modules/cjs/loader:1051:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Volumes/code/vue/build/check-versions.js',
    '/Volumes/code/vue/build/dev-server.js'
    ]