I just move my angular 4 to angular 5 and now it doesn't build anymore












1















After updated my Angular 4 to Angular 5, it doesn't build anymore and the solutions around don't work. I'm using yarn to build.



package.json



  "dependencies": {
"@angular/animations": "5.2.0",
"@angular/cdk": "5.2.4",
"@angular/common": "5.2.0",
"@angular/compiler": "5.2.0",
"@angular/core": "5.2.0",
"@angular/forms": "5.2.0",
"@angular/http": "5.2.0",
"@angular/material": "5.2.4",
"@angular/material-moment-adapter": "5.2.4",
"@angular/platform-browser": "5.2.0",
"@angular/platform-browser-dynamic": "5.2.0",
"@angular/platform-server": "5.2.0",
"@angular/router": "5.2.0",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.9",
"@ngx-translate/core": "8.0.0",
"@ngx-translate/http-loader": "2.0.1",
"bootstrap": "4.0.0",
"core-js": "2.4.1",
"currency-codes": "^1.2.0",
"echarts": "^4.1.0",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
"jquery-slimscroll": "^1.3.8",
"moment": "^2.22.2",
"moment-timezone": "^0.5.14",
"ng-jhipster": "0.4.0",
"ngx-cookie": "2.0.1",
"ngx-infinite-scroll": "0.5.1",
"ngx-webstorage": "^2.0.1",
"primeng": "4.3.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.5.2",
"swagger-ui": "2.2.10",
"sweetalert": "^2.1.0",
"tether": "1.4.0",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.6",
"@angular/compiler-cli": "5.2.0",
"@types/echarts": "^4.1.1",
"@types/jasmine": "2.5.53",
"@types/node": "8.0.18",
"angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "3.2.2",
"browser-sync": "2.18.13",
"browser-sync-webpack-plugin": "1.2.0",
"codelyzer": "3.1.2",
"copy-webpack-plugin": "4.0.1",
"css-loader": "0.28.4",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"generator-jhipster": "4.8.2",
"html-loader": "0.5.0",
"html-webpack-plugin": "2.30.1",
"jasmine-core": "2.7.0",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.1",
"karma-intl-shim": "1.0.3",
"karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0",
"karma-notify-reporter": "1.0.1",
"karma-phantomjs-launcher": "1.0.4",
"karma-remap-istanbul": "0.6.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.4",
"merge-jsons-webpack-plugin": "1.0.11",
"ngc-webpack": "3.1.1",
"node-sass": "4.5.3",
"phantomjs-prebuilt": "2.1.14",
"postcss-loader": "2.0.6",
"proxy-middleware": "0.15.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"string-replace-webpack-plugin": "0.1.3",
"style-loader": "0.18.2",
"to-string-loader": "1.1.5",
"tslint": "5.5.0",
"tslint-loader": "3.5.3",
"typescript": "2.4.2",
"uglifyjs-webpack-plugin": "1.0.0-beta.2",
"web-app-manifest-loader": "0.1.1",
"webpack": "3.5.6",
"webpack-dev-server": "2.8.1",
"webpack-merge": "4.1.0",
"webpack-notifier": "1.5.0",
"webpack-visualizer-plugin": "0.1.11",
"write-file-webpack-plugin": "4.1.0"
},
"engines": {
"node": ">=6.9.0"
}


After run successfully yarn install, I'm getting the following error to run yarn build:



warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --progress --profile
/Users/user/Documents/dev/project/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7
extendStatics(d, b);
^

TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at __extends (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7:9)
at /Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:16:5
at Object.<anonymous> (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:49:2)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
error Command failed with exit code 1.
Process finished with exit code 1


Any suggestion about how I can fix this problem?



Any help is appreciated.



Thanks.










share|improve this question

























  • you didn't use the Angular CLI on the project?

    – IvanS95
    Nov 14 '18 at 14:30











  • looks like he using webpack...

    – vidalsasoon
    Nov 14 '18 at 14:32











  • @IvanS95 I use.

    – Tanino
    Nov 14 '18 at 14:51











  • try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

    – rhavelka
    Nov 14 '18 at 15:00
















1















After updated my Angular 4 to Angular 5, it doesn't build anymore and the solutions around don't work. I'm using yarn to build.



package.json



  "dependencies": {
"@angular/animations": "5.2.0",
"@angular/cdk": "5.2.4",
"@angular/common": "5.2.0",
"@angular/compiler": "5.2.0",
"@angular/core": "5.2.0",
"@angular/forms": "5.2.0",
"@angular/http": "5.2.0",
"@angular/material": "5.2.4",
"@angular/material-moment-adapter": "5.2.4",
"@angular/platform-browser": "5.2.0",
"@angular/platform-browser-dynamic": "5.2.0",
"@angular/platform-server": "5.2.0",
"@angular/router": "5.2.0",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.9",
"@ngx-translate/core": "8.0.0",
"@ngx-translate/http-loader": "2.0.1",
"bootstrap": "4.0.0",
"core-js": "2.4.1",
"currency-codes": "^1.2.0",
"echarts": "^4.1.0",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
"jquery-slimscroll": "^1.3.8",
"moment": "^2.22.2",
"moment-timezone": "^0.5.14",
"ng-jhipster": "0.4.0",
"ngx-cookie": "2.0.1",
"ngx-infinite-scroll": "0.5.1",
"ngx-webstorage": "^2.0.1",
"primeng": "4.3.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.5.2",
"swagger-ui": "2.2.10",
"sweetalert": "^2.1.0",
"tether": "1.4.0",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.6",
"@angular/compiler-cli": "5.2.0",
"@types/echarts": "^4.1.1",
"@types/jasmine": "2.5.53",
"@types/node": "8.0.18",
"angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "3.2.2",
"browser-sync": "2.18.13",
"browser-sync-webpack-plugin": "1.2.0",
"codelyzer": "3.1.2",
"copy-webpack-plugin": "4.0.1",
"css-loader": "0.28.4",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"generator-jhipster": "4.8.2",
"html-loader": "0.5.0",
"html-webpack-plugin": "2.30.1",
"jasmine-core": "2.7.0",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.1",
"karma-intl-shim": "1.0.3",
"karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0",
"karma-notify-reporter": "1.0.1",
"karma-phantomjs-launcher": "1.0.4",
"karma-remap-istanbul": "0.6.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.4",
"merge-jsons-webpack-plugin": "1.0.11",
"ngc-webpack": "3.1.1",
"node-sass": "4.5.3",
"phantomjs-prebuilt": "2.1.14",
"postcss-loader": "2.0.6",
"proxy-middleware": "0.15.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"string-replace-webpack-plugin": "0.1.3",
"style-loader": "0.18.2",
"to-string-loader": "1.1.5",
"tslint": "5.5.0",
"tslint-loader": "3.5.3",
"typescript": "2.4.2",
"uglifyjs-webpack-plugin": "1.0.0-beta.2",
"web-app-manifest-loader": "0.1.1",
"webpack": "3.5.6",
"webpack-dev-server": "2.8.1",
"webpack-merge": "4.1.0",
"webpack-notifier": "1.5.0",
"webpack-visualizer-plugin": "0.1.11",
"write-file-webpack-plugin": "4.1.0"
},
"engines": {
"node": ">=6.9.0"
}


After run successfully yarn install, I'm getting the following error to run yarn build:



warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --progress --profile
/Users/user/Documents/dev/project/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7
extendStatics(d, b);
^

TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at __extends (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7:9)
at /Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:16:5
at Object.<anonymous> (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:49:2)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
error Command failed with exit code 1.
Process finished with exit code 1


Any suggestion about how I can fix this problem?



Any help is appreciated.



Thanks.










share|improve this question

























  • you didn't use the Angular CLI on the project?

    – IvanS95
    Nov 14 '18 at 14:30











  • looks like he using webpack...

    – vidalsasoon
    Nov 14 '18 at 14:32











  • @IvanS95 I use.

    – Tanino
    Nov 14 '18 at 14:51











  • try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

    – rhavelka
    Nov 14 '18 at 15:00














1












1








1








After updated my Angular 4 to Angular 5, it doesn't build anymore and the solutions around don't work. I'm using yarn to build.



package.json



  "dependencies": {
"@angular/animations": "5.2.0",
"@angular/cdk": "5.2.4",
"@angular/common": "5.2.0",
"@angular/compiler": "5.2.0",
"@angular/core": "5.2.0",
"@angular/forms": "5.2.0",
"@angular/http": "5.2.0",
"@angular/material": "5.2.4",
"@angular/material-moment-adapter": "5.2.4",
"@angular/platform-browser": "5.2.0",
"@angular/platform-browser-dynamic": "5.2.0",
"@angular/platform-server": "5.2.0",
"@angular/router": "5.2.0",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.9",
"@ngx-translate/core": "8.0.0",
"@ngx-translate/http-loader": "2.0.1",
"bootstrap": "4.0.0",
"core-js": "2.4.1",
"currency-codes": "^1.2.0",
"echarts": "^4.1.0",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
"jquery-slimscroll": "^1.3.8",
"moment": "^2.22.2",
"moment-timezone": "^0.5.14",
"ng-jhipster": "0.4.0",
"ngx-cookie": "2.0.1",
"ngx-infinite-scroll": "0.5.1",
"ngx-webstorage": "^2.0.1",
"primeng": "4.3.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.5.2",
"swagger-ui": "2.2.10",
"sweetalert": "^2.1.0",
"tether": "1.4.0",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.6",
"@angular/compiler-cli": "5.2.0",
"@types/echarts": "^4.1.1",
"@types/jasmine": "2.5.53",
"@types/node": "8.0.18",
"angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "3.2.2",
"browser-sync": "2.18.13",
"browser-sync-webpack-plugin": "1.2.0",
"codelyzer": "3.1.2",
"copy-webpack-plugin": "4.0.1",
"css-loader": "0.28.4",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"generator-jhipster": "4.8.2",
"html-loader": "0.5.0",
"html-webpack-plugin": "2.30.1",
"jasmine-core": "2.7.0",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.1",
"karma-intl-shim": "1.0.3",
"karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0",
"karma-notify-reporter": "1.0.1",
"karma-phantomjs-launcher": "1.0.4",
"karma-remap-istanbul": "0.6.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.4",
"merge-jsons-webpack-plugin": "1.0.11",
"ngc-webpack": "3.1.1",
"node-sass": "4.5.3",
"phantomjs-prebuilt": "2.1.14",
"postcss-loader": "2.0.6",
"proxy-middleware": "0.15.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"string-replace-webpack-plugin": "0.1.3",
"style-loader": "0.18.2",
"to-string-loader": "1.1.5",
"tslint": "5.5.0",
"tslint-loader": "3.5.3",
"typescript": "2.4.2",
"uglifyjs-webpack-plugin": "1.0.0-beta.2",
"web-app-manifest-loader": "0.1.1",
"webpack": "3.5.6",
"webpack-dev-server": "2.8.1",
"webpack-merge": "4.1.0",
"webpack-notifier": "1.5.0",
"webpack-visualizer-plugin": "0.1.11",
"write-file-webpack-plugin": "4.1.0"
},
"engines": {
"node": ">=6.9.0"
}


After run successfully yarn install, I'm getting the following error to run yarn build:



warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --progress --profile
/Users/user/Documents/dev/project/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7
extendStatics(d, b);
^

TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at __extends (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7:9)
at /Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:16:5
at Object.<anonymous> (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:49:2)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
error Command failed with exit code 1.
Process finished with exit code 1


Any suggestion about how I can fix this problem?



Any help is appreciated.



Thanks.










share|improve this question
















After updated my Angular 4 to Angular 5, it doesn't build anymore and the solutions around don't work. I'm using yarn to build.



package.json



  "dependencies": {
"@angular/animations": "5.2.0",
"@angular/cdk": "5.2.4",
"@angular/common": "5.2.0",
"@angular/compiler": "5.2.0",
"@angular/core": "5.2.0",
"@angular/forms": "5.2.0",
"@angular/http": "5.2.0",
"@angular/material": "5.2.4",
"@angular/material-moment-adapter": "5.2.4",
"@angular/platform-browser": "5.2.0",
"@angular/platform-browser-dynamic": "5.2.0",
"@angular/platform-server": "5.2.0",
"@angular/router": "5.2.0",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.9",
"@ngx-translate/core": "8.0.0",
"@ngx-translate/http-loader": "2.0.1",
"bootstrap": "4.0.0",
"core-js": "2.4.1",
"currency-codes": "^1.2.0",
"echarts": "^4.1.0",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
"jquery-slimscroll": "^1.3.8",
"moment": "^2.22.2",
"moment-timezone": "^0.5.14",
"ng-jhipster": "0.4.0",
"ngx-cookie": "2.0.1",
"ngx-infinite-scroll": "0.5.1",
"ngx-webstorage": "^2.0.1",
"primeng": "4.3.0",
"reflect-metadata": "0.1.10",
"rxjs": "5.5.2",
"swagger-ui": "2.2.10",
"sweetalert": "^2.1.0",
"tether": "1.4.0",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.6",
"@angular/compiler-cli": "5.2.0",
"@types/echarts": "^4.1.1",
"@types/jasmine": "2.5.53",
"@types/node": "8.0.18",
"angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "3.2.2",
"browser-sync": "2.18.13",
"browser-sync-webpack-plugin": "1.2.0",
"codelyzer": "3.1.2",
"copy-webpack-plugin": "4.0.1",
"css-loader": "0.28.4",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"generator-jhipster": "4.8.2",
"html-loader": "0.5.0",
"html-webpack-plugin": "2.30.1",
"jasmine-core": "2.7.0",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.1",
"karma-intl-shim": "1.0.3",
"karma-jasmine": "1.1.0",
"karma-junit-reporter": "1.2.0",
"karma-notify-reporter": "1.0.1",
"karma-phantomjs-launcher": "1.0.4",
"karma-remap-istanbul": "0.6.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.4",
"merge-jsons-webpack-plugin": "1.0.11",
"ngc-webpack": "3.1.1",
"node-sass": "4.5.3",
"phantomjs-prebuilt": "2.1.14",
"postcss-loader": "2.0.6",
"proxy-middleware": "0.15.0",
"rimraf": "2.6.1",
"sass-loader": "6.0.6",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"string-replace-webpack-plugin": "0.1.3",
"style-loader": "0.18.2",
"to-string-loader": "1.1.5",
"tslint": "5.5.0",
"tslint-loader": "3.5.3",
"typescript": "2.4.2",
"uglifyjs-webpack-plugin": "1.0.0-beta.2",
"web-app-manifest-loader": "0.1.1",
"webpack": "3.5.6",
"webpack-dev-server": "2.8.1",
"webpack-merge": "4.1.0",
"webpack-notifier": "1.5.0",
"webpack-visualizer-plugin": "0.1.11",
"write-file-webpack-plugin": "4.1.0"
},
"engines": {
"node": ">=6.9.0"
}


After run successfully yarn install, I'm getting the following error to run yarn build:



warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --progress --profile
/Users/user/Documents/dev/project/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7
extendStatics(d, b);
^

TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at __extends (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:7:9)
at /Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:16:5
at Object.<anonymous> (/Users/tharso/Documents/dev_boracay/gerrit/qr-code-gateway-web/node_modules/ngc-webpack/src/webpack-chain-module-resolution-host-adapter.js:49:2)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
error Command failed with exit code 1.
Process finished with exit code 1


Any suggestion about how I can fix this problem?



Any help is appreciated.



Thanks.







angular yarnpkg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 18:55









tk421

3,60631526




3,60631526










asked Nov 14 '18 at 14:24









TaninoTanino

259




259













  • you didn't use the Angular CLI on the project?

    – IvanS95
    Nov 14 '18 at 14:30











  • looks like he using webpack...

    – vidalsasoon
    Nov 14 '18 at 14:32











  • @IvanS95 I use.

    – Tanino
    Nov 14 '18 at 14:51











  • try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

    – rhavelka
    Nov 14 '18 at 15:00



















  • you didn't use the Angular CLI on the project?

    – IvanS95
    Nov 14 '18 at 14:30











  • looks like he using webpack...

    – vidalsasoon
    Nov 14 '18 at 14:32











  • @IvanS95 I use.

    – Tanino
    Nov 14 '18 at 14:51











  • try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

    – rhavelka
    Nov 14 '18 at 15:00

















you didn't use the Angular CLI on the project?

– IvanS95
Nov 14 '18 at 14:30





you didn't use the Angular CLI on the project?

– IvanS95
Nov 14 '18 at 14:30













looks like he using webpack...

– vidalsasoon
Nov 14 '18 at 14:32





looks like he using webpack...

– vidalsasoon
Nov 14 '18 at 14:32













@IvanS95 I use.

– Tanino
Nov 14 '18 at 14:51





@IvanS95 I use.

– Tanino
Nov 14 '18 at 14:51













try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

– rhavelka
Nov 14 '18 at 15:00





try using @angular/cli: 1.7.4. I think 1.2.6 is too old for the version of angular you are upgrading to.

– rhavelka
Nov 14 '18 at 15:00












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53302441%2fi-just-move-my-angular-4-to-angular-5-and-now-it-doesnt-build-anymore%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53302441%2fi-just-move-my-angular-4-to-angular-5-and-now-it-doesnt-build-anymore%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma