Ich bekomme plötzlich einen Fehler, als ich meine Node-Module bereinigt und den ionischen Dienst ausgeführt habe.
Error: Cannot find module "E:xxxx_work10sxxffdfdnode_modulesionic"
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at C:Users4333AppDataRoamingnpmnode_modulesionicbinionic:18:13 code: "MODULE_NOT_FOUND" }
Antworten:
2 für die Antwort № 1Du hättest dein ionic auf 3 auf deiner neuen npm-Installation aufgerüstet. Daher müssen Sie ionic 2 global und lokal installieren.
Versuchen
npm install ionic@2.1.0
und
npm install -g ionic@2.1.0
Überprüfen Sie Ihre package.json, ändern Sie die "ionic": "^2.1.0"
zu "ionic": "2.1.0"