Thank you for your great tutorial.
I have this postinstall line in my package.json file which doesn't allow me to run npm install --production successfully, unless I move @angular/cli and @angular/compiler-cli from devDependencies to dependencies.
package.json
npm install --production
@angular/cli
@angular/compiler-cli
"scripts": { "postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main" ... }
Is moving dependencies ok? What's the best way to solve this problem?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for your great tutorial.
I have this postinstall line in my
package.jsonfile which doesn't allow me to runnpm install --productionsuccessfully, unless I move@angular/cliand@angular/compiler-clifrom devDependencies to dependencies."scripts": {"postinstall": "node ./decorate-angular-cli.js && ngcc --properties es2015 browser module main"
...
}
Is moving dependencies ok? What's the best way to solve this problem?