I use a lot of private node packages (stored on my personal github repositories) in my projects:
"devDependencies": {
...
"my-package": "github:username/my-package#master"
...
}
my issues is that, when updating a project or when running npm install, the process takes so long (~ 2 mins), while it's stuck doing something like:
reify:my-package: timing reify:loadBundles Completed in 0ms
Is there anything I can do to speed up the processes when using private repos?
Thanks
This isn't a problem with Private repositories or GitHub, NPM itself has been very slow recently. You might want to go with a faster alternative like yarn, It's much faster and can save a ton of time.
To install Yarn you just have to run npm install yarn -g. That will install yarn globally.
This cheat sheet of Yarn alternatives to NPM commands can help - https://shift.infinite.red/npm-vs-yarn-cheat-sheet-8755b092e5cc
Hope it helped :)