I have received a node js and angular project without node modules i need to install all packages which is mentioned in package.json file. kindly suggest the command to install node modules in both angular and node js.
Asked
Active
Viewed 1,560 times
3 Answers
0
Locate the package.json file in both projects (Angular and Node). And then run the install command.
npm install
or
npm i

MonkeyScript
- 4,776
- 1
- 11
- 28
-
after installed when i run npm start its showing js stack trace its created one json file.how to run this project... – manikandan Apr 06 '21 at 07:16
-
in package.json file mentioned like this "scripts": { "ng": "ng", "start": "ng serve --host 0.0.0.0 --public-host local.chekmarc.com", "build": "ng build", "lint": "ng lint", "extractngx": "ngx-translate-extract --input ./src/app --output ./src/assets/i18n/{en,es}.json --clean --format json", "build:stats": "ng build --stats-json", "analyze": "webpack-bundle-analyzer dist/cm-webapp/stats.json" }, how to run this project in localhost – manikandan Apr 06 '21 at 07:17
-
@manikandan Just try simple `ng serve` – MonkeyScript Apr 06 '21 at 07:30
-
not working i have tried both ng serve and npm start – manikandan Apr 06 '21 at 07:53