Skip to content

Instantly share code, notes, and snippets.

@yantze
Last active March 4, 2022 09:28
Show Gist options
  • Save yantze/a28b3782889961f386f69ac04cb0c45e to your computer and use it in GitHub Desktop.
Save yantze/a28b3782889961f386f69ac04cb0c45e to your computer and use it in GitHub Desktop.
electron npm 源,配置好 npmrc 后, yarn 如果没有 .yarnrc 也会使用 .npmrc
registry=https://registry.npmmirror.com/
disturl=https://registry.npmmirror.com/dist
chromedriver-cdnurl=https://registry.npmmirror.com/mirrors/chromedriver
couchbase-binary-host-mirror=https://registry.npmmirror.com/mirrors/couchbase/v{version}
debug-binary-host-mirror=https://registry.npmmirror.com/mirrors/node-inspector
flow-bin-binary-host-mirror=https://registry.npmmirror.com/mirrors/flow/v{version}
fse-binary-host-mirror=https://registry.npmmirror.com/mirrors/fsevents
fuse-bindings-binary-host-mirror=https://registry.npmmirror.com/mirrors/fuse-bindings/v{version}
git4win-mirror=https://registry.npmmirror.com/mirrors/git-for-windows
gl-binary-host-mirror=https://registry.npmmirror.com/mirrors/gl/v{version}
grpc-node-binary-host-mirror=https://registry.npmmirror.com/mirrors
hackrf-binary-host-mirror=https://registry.npmmirror.com/mirrors/hackrf/v{version}
leveldown-binary-host-mirror=https://registry.npmmirror.com/mirrors/leveldown/v{version}
leveldown-hyper-binary-host-mirror=https://registry.npmmirror.com/mirrors/leveldown-hyper/v{version}
mknod-binary-host-mirror=https://registry.npmmirror.com/mirrors/mknod/v{version}
node-sqlite3-binary-host-mirror=https://registry.npmmirror.com/mirrors
node-tk5-binary-host-mirror=https://registry.npmmirror.com/mirrors/node-tk5/v{version}
nodegit-binary-host-mirror=https://registry.npmmirror.com/mirrors/nodegit/v{version}/
operadriver-cdnurl=https://registry.npmmirror.com/mirrors/operadriver
phantomjs-cdnurl=https://registry.npmmirror.com/mirrors/phantomjs
profiler-binary-host-mirror=https://registry.npmmirror.com/mirrors/node-inspector/
python-mirror=https://registry.npmmirror.com/mirrors/python
rabin-binary-host-mirror=https://registry.npmmirror.com/mirrors/rabin/v{version}
sass-binary-site=https://registry.npmmirror.com/mirrors/node-sass
sodium-prebuilt-binary-host-mirror=https://registry.npmmirror.com/mirrors/sodium-prebuilt/v{version}
sqlite3-binary-site=https://registry.npmmirror.com/mirrors/sqlite3
utf-8-validate-binary-host-mirror=https://registry.npmmirror.com/mirrors/utf-8-validate/v{version}
utp-native-binary-host-mirror=https://registry.npmmirror.com/mirrors/utp-native/v{version}
zmq-prebuilt-binary-host-mirror=https://registry.npmmirror.com/mirrors/zmq-prebuilt/v{version}
bin-mirrors-prefix=https://registry.npmmirror.com/mirrors
canvas_binary_host_mirror=https://npmmirror.com/mirrors/canvas
@yantze
Copy link
Author

yantze commented Mar 5, 2021

成功了成功了,我没有把最后一个 Electron 的源加上。
感谢。

👍️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment