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.

Running this removes dev modules

See original GitHub issue

Is it normal for this script to blow away dev dependencies? I think when it runs npm install --production, for some reason, any dev dependencies in node_modules are gone.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
siddharthkpcommented, Apr 12, 2017

🎉

Thanks for reporting it.

1reaction
siddharthkpcommented, Apr 12, 2017

@ffxsam published, just update cost-of-modules 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR MODULE NOT FOUND whenever I try to run 'npm run ...
I fixed it by deleting the .next directory and restarting the dev server: $ rm -rf .next $ npm run dev > kalyna@0.1.0...
Read more >
Prisma generate removes node modules · Issue #5511 - GitHub
After running the prisma generate command, ts-node-dev gets removed from the modules but still shows it in the package file.
Read more >
npm Uninstall – How to Remove a Package - freeCodeCamp
To remove a dev dependency, you need to attach the -D or --save-dev flag to the npm uninstall, and then specify the name...
Read more >
How to stop a module script running after its been removed
I would suggest adding an if statement which checks if the UI is still active. If it is not, it will stop running....
Read more >
Adding and Removing dependency in Go modules - Eternal Dev
Remove all the imports and code related to the package · Run go mod tidy -v command to remove any unused package.
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