Angular @利弗雷洛德的角形cling不';行不通

Angular @利弗雷洛德的角形cling不';行不通,angular,angular-cli,Angular,Angular Cli,我是Angular2和@angular cli的新手。我正在下载@angular cli,我尝试将其用于livereload,但不起作用。我试图在版本1.4.2上降级,但仍然不起作用 我有这样的失败: ERROR in ./src/main.ts Module build failed: TypeError: Cannot read property 'newLine' of undefined at Object.getNewLineCharacter (/home/cesar/Rep

我是Angular2和@angular cli的新手。我正在下载@angular cli,我尝试将其用于livereload,但不起作用。我试图在版本1.4.2上降级,但仍然不起作用

我有这样的失败:

ERROR in ./src/main.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/typescript/lib/typescript.js:9514:20)
    at Object.createCompilerHost (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/typescript/lib/typescript.js:63770:26)
    at Object.ngcLoader (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/@ngtools/webpack/src/loader.js:380:33)
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/polyfills.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/typescript/lib/typescript.js:9514:20)
    at Object.createCompilerHost (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/typescript/lib/typescript.js:63770:26)
    at Object.ngcLoader (/home/cesar/Repositorios/proyectoAlbum/client-albums/node_modules/@ngtools/webpack/src/loader.js:380:33)
 @ multi ./src/polyfills.ts
这是我的@angular cli和节点版本

   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.0.0
node: 6.10.2
os: linux x64
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1

问候

您没有正确升级。未正确设置NGtools绑定

遵循以下步骤:


此外:

要求节点6.9.0或更高版本,以及NPM 3或更高版本

您可以在此处下载最新版本:。
它对我来说工作正常。

您没有正确升级。未正确设置NGtools绑定

遵循以下步骤:


此外:

要求节点6.9.0或更高版本,以及NPM 3或更高版本

您可以在此处下载最新版本:。 对我来说,它工作正常