Skip to main content

All 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&...
Dimitris Pantazopoulos's user avatar
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] ...
Shaik Nizamuddin's user avatar
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 ...
Tall_Joe's user avatar
  • 189
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 =...
Vladimir I's user avatar
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 ...
tegbir's user avatar
  • 41
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 --...
Noel sebastian's user avatar
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.
S.B's user avatar
  • 21