question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Local package.json exists, but node_modules missing

See original GitHub issue

angular-quickstart@1.0.0 prestart C:\Users\muzaffar\Desktop\Mob App Test\Angul arJS npm run build

angular-quickstart@1.0.0 build C:\Users\muzaffar\Desktop\Mob App Test\AngularJ S tsc -p src/

error TS5023: Unknown option ‘p’ Use the ‘–help’ flag to see options. error TS5007: Cannot resolve referenced file: ‘src/’.

npm ERR! Windows_NT 10.0.14393 npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js” “run” “build” npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-quickstart@1.0.0 build: tsc -p src/ npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-quickstart@1.0.0 build script ‘tsc -p src/’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular-quickstart pa ckage, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! tsc -p src/ npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular-quickstart npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls angular-quickstart npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to in stall?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\muzaffar\AppData\Roaming\npm-cache_logs\2017-03-31T12_07_ 22_542Z-debug.log

npm ERR! Windows_NT 10.0.14393 npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js” “start” npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-quickstart@1.0.0 prestart: npm run build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-quickstart@1.0.0 prestart script ‘npm run build’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular-quickstart pa ckage, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! npm run build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular-quickstart npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls angular-quickstart npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to in stall?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\muzaffar\AppData\Roaming\npm-cache_logs\2017-03-31T12_07_ 22_565Z-debug.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

219reactions
MichaelDeBoeycommented, Mar 31, 2017

You first need to run npm install before you can build the package 😃

2reactions
Foxandxsscommented, Oct 31, 2017

This repository is now deprecated. The Angular Quickstart project was a nice starting point for creating Angular applications. Now we recommend using the Angular CLI to create new Angular projects.

Starting from 1 November 2017, all the Angular documentation, at angular.io, is based on the Angular CLI.

Let’s get started

Read more comments on GitHub >

github_iconTop Results From Across the Web

Local package.json exists, but node_modules missing
npm start runs a script that the app maker built for easy starting of the app npm install installs all the packages in...
Read more >
Local package.json exists, but node_modules missing
JavaScript : Local package. json exists, but node_modules missing [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] JavaScript ...
Read more >
Local package.json exists, but node_modules missing
I am trying to start a Redux application I just cloned from a GitHub repository. I tried to run it with the following...
Read more >
Local package.json exists, but node_modules missing- ...
Use npm install to install the package. I was having a permission issue with running this, due to the closed-nature of my office...
Read more >
node_modules missing did you mean to install Code Example
... app npm install installs all the packages in package.json run npm. ... Local package.json exists, but node_modules missing, did you mean ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found