Wie kann man das Nicht finden kann Modul 'typescript' im Winkel 4?

Generiert ich Eckige 4 app 3 Wochen mit dem @ - eckig/cli. Nach 2 Wochen, ich versuchte es mit der Befehlszeile "ng serve" aber ich bin aufgefordert, einen Fehler unter:

Cannot find module 'typescript'
Error: Cannot find module 'typescript'
    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> (C:\Users\mypc\Documents\Angular Projects\my-angular-app\node_modules\@angular\cli\models\config\config.js:5:12)
    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)

Haben Sie eine Idee, wie man dieses Problem beheben? Danke.

haben Sie typescript weltweit?
Hi @Aravind ich nicht installieren, Typoskript weltweit...
installieren Sie Global und setzen Sie den Pfad in den Umgebungsvariablen.
Ich habe es installiert weltweit gerade jetzt. Hast du eine genauere Anleitung zu set path in Umgebungsvariablen?
sind Sie im teamviewer?

InformationsquelleAutor Conan Carroll | 2017-06-18

Schreibe einen Kommentar