npm install has slowed down significantly
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js
- Domain
- tooling
Research direction
Start by reproducing the slowdown with the package.json setup using npm install --verbose and npm install --ignore-scripts --verbose on Windows. Compare the install behavior and pre-install scripts, then consider the work complete when normal npm installation no longer has the reported performance gap without ignoring scripts.
Written by the indexing model from the issue text.
Description
Describe the bug
Running npm install has significantly slowed down from what it used to be before the pnpm switch. The cause seems to be the running of a pre-install script on every package. The old performance can be gained back by using the --ignore-scripts flag.
Steps to reproduce the behavior:
- Have a
package.jsonfile with a decent amount of nevermore dependencies - Run
npm install --verbose - Now run
npm install --ignore-scripts --verbose
Expected behavior
The normal install without the --ignore-scripts flag should be equally fast when using npm.
Screenshots
Environment:
- OS: Windows
- Dominant language
- Lua
- Stars
- 632
- Forks
- 148
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 13
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Quenty/NevermoreEngine
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Quenty/NevermoreEngine#860 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Quenty/NevermoreEngine#583 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Quenty/NevermoreEngine#507 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Quenty/NevermoreEngine#471 · 1 reaction ·
Maintainers usually reply within 1 day
-
Implement Deferred/Adapted Signal using LuaMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
Quenty/NevermoreEngine#463 · 1 comment ·
Maintainers usually reply within 1 day
All issues in Quenty/NevermoreEngine
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
fitzforge/polestar#1825 · 1 comment ·
Maintainers usually reply within 1 day
-
Data Correction Forever
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
obsidian-nvim/obsidian.nvim#1027 ·
Maintainers usually reply within 1 day
-
area: top panel enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AndyHazz/bookshelf.koplugin#599 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100