npm install takes about 5 minutes to run
See original GitHub issueI have a RN project with bunch of native library but this library exclusively takes about ~3-5 minutes when running npm install
the first time.
It looks like the native compilation is the reason of this (RxSwift complication, etc)
Is there a way libraries can be precompiled? like some sort of node-gyp prebuild equivalent? 🤔
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Why is "npm install" really slow? - node.js - Stack Overflow
I installed modules here in less than 1 min with your package. json with npm v3.
Read more >npm install takes too many hours · Issue #11028 - GitHub
I run "npm install" in the same project ( on my computer at work Ubuntu 16.4 ) and it only takes about 5...
Read more >[URGENT] npm install taking too long to run in npm build
The first application, lets refer to it as “EE”, runs in under 5 mins, while the other is taking over 10 mins to...
Read more >Why does npm take so long while installing packages?
it takes ~5 minutes to download and install. ... Modules sometimes have many dependencies (other modules that are needed to run correctly).
Read more >[Solved] Npm install hung or takes too long time
While working on Node you may be downloading various npm packages. Sometimes the download process just hung and does not move forward.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is one thing which can be improved:
Additionaly we can:
Try to use static Swift framework to move compiling step to building process. That’s how ObjC is working in most libraries.
Wait for Swift ABI to stabilize and use prebuild frameworks. Unfortunately it will take a while.
Same problem to me,npm install is too slow