All Questions
7 questions
5
votes
0
answers
10k
views
How to execute postbuild script after all package script events?
The package.json of an Angular library defines the following scripts:
"scripts": {
"build": "node ../../node_modules/@angular/cli/bin/ng build dining",
"watch&...
2
votes
1
answer
9k
views
Failed at the core-js postinstall script error
I am facing the following errors when I try to install node modules in an existing Angular project. I am trying to install the node modules in windows machine(Win32 X64).
> [email protected] ...
3
votes
1
answer
4k
views
How to make Angular watch multiple libraries for changes and recompile when needed
This question is much the same as Make angular app watch for libraries changes and update itself. But, that question was never successfully answered as applies to the use of multiple libraries. I also ...
0
votes
1
answer
578
views
Perfect way to use variables in package.json [closed]
I have a number of angular environments, like prod, dev and i would like to reuse this information in package.json scripts.
for example I have a profile 'dev` which contains:
export const environment =...
4
votes
1
answer
6k
views
How to run multiple NPM scripts in sequence with watch
I am working on angular 7 application. Below are the scripts in my package.json file to build the application
"scripts": {
"build:all": "npm run build:dev & npm run ...
3
votes
4
answers
6k
views
npm run scripts not working, bur running scripts separately works
I have been trying to run scripts using NPM run scripts. However, it ends up in error.
Package.json
"scripts": {
"ng": "ng",
"start": "ng serve --...
0
votes
0
answers
449
views
Program 'npm.cmd' failed to run NPM angular application
i have got one issue, when i run angular application. I get "program npm.cmd failed to run" in NPM.
NPM start command please see the attachments.