1

检查 vue 版本或创建新 vue 项目时。我有错误

emraan> vue --version
internal/modules/cjs/loader.js:800
throw err;
^

Error: Cannot find module 'C:\Users\emraan\AppData\Roaming\npm\node_modules\vue-cli\bin\vue'
[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)[39m
[90m    at Function.Module._load (internal/modules/cjs/loader.js:690:27)[39m
[90m    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)[39m
[90m    at internal/main/run_main_module.js:17:11[39m {
  code: [32m'MODULE_NOT_FOUND'[39m,
  requireStack: []
}
4

0 回答 0