I generated an app with Angular-CLI and wrote a very basic Nodejs server for heroku to execute.
Moved my @angular/cli dependency for Heroku to install and build the app with postinstall script like this
"postinstall": "ng build --aot --prod",
however when building the app heroku remote complains
The package "angular-cli" has been renamed to "@angular/cli". The old package will be deprecated soon.
remote:
remote: Please take the following steps to avoid issues:
remote: "npm install --save-dev @angular/cli@latest"
Even though in my package.json I have it listed as
"dependencies": {
"@angular/cli": "1.0.0-rc.2",
"@angular/compiler-cli": "^2.4.9",
What gives?
via Nikki Kononov
No comments:
Post a Comment