我现有的工作应用程序今天突然抛出
{ Error: Cannot find module '@ionic/cli-utils'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/vskumar/Dropbox/OscIbcsBotsGit/angular2/osc_ionic_angular2/node_modules/ionic/dist/index.js:8:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
与离子式离子-v等有关的任何事情都会引发同样的错误。请指教
答案 0 :(得分:1)
尝试npm install -g ionic@latest