Angular 2 typescript:无法读取未定义的属性newLine

PAR*_*PAR 2 typescript angular-cli angular

我正在使用angular-CLI for angular 2,运行我在命令提示符下运行服务获取模块构建失败'无法读取所有我的角度2项目的属性newLine of undefined'错误.

Module build failed: TypeError: Cannot read property 'newLine' of undefined
at Object.getNewLineCharacter (C:\Users\timebound\angularJson\node_modules\typescript\lib\typescript.js:8062:20)
at Object.createCompilerHost (C:\Users\timebound\angularJson\node_modules\typescript\lib\typescript.js:44978:26)
at Object.ngcLoader (C:\Users\timebound\angularJson\node_modules\@ngtools\webpack\src\loader.js:329:31)
Run Code Online (Sandbox Code Playgroud)

@ multi webpack-dev-server/client?http:// localhost:4300 / ./src/main.ts

我跟着角度cli问题,仍然无法修复,我更新角2,请帮助我

小智 6

将devDependencies更改"angular-cli": "1.0.0-beta.28.3""@angular/cli": "1.0.0-beta.30"