You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you could point npm to a local directory instead of needing a separate server process, I'd be SO down.
FWIW, I experimented with this bash script, and while I saw local-npm serving modules, it didn't seem to be any faster. Maybe I was doing something wrong.
#!/usr/bin/env bash
local-npm --directory /tmp/local-npm &
pid=$!
npm set progress false
npm set registry http://127.0.0.1:5080
npm install
npm set registry https://registry.npmjs.org
kill$pid
See: https://addyosmani.com/blog/using-npm-offline/
The text was updated successfully, but these errors were encountered: