I 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
There is one thing which can be improved:
Additionaly we can:
Another possibility is to reimplement API using just one Swift static library without any dependencies such as RxBluetoothKit.
Same problem to me锛宯pm install is too slow
Use yarn add, it is faster than npm install.
@pulkonet i think yarn add is as slow as npm install regarding this problem. the same postinstall will run which is taking long time to compile. (I actually was using yarn when i created this issue ;))
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
There is one thing which can be improved:
Additionaly we can: