diff --git a/packages/core/src/modules/plugin/node/index.js b/packages/core/src/modules/plugin/node/index.js index 1df36b0..2380b03 100644 --- a/packages/core/src/modules/plugin/node/index.js +++ b/packages/core/src/modules/plugin/node/index.js @@ -119,8 +119,8 @@ const NodePlugin = function (context) { async setProxy (ip, port) { const cmds = [ - `npm1 config set proxy=http://${ip}:${port}`, - `npm1 config set https-proxy=http://${ip}:${port}` + `npm config set proxy=http://${ip}:${port}`, + `npm config set https-proxy=http://${ip}:${port}` ] const env = []