相关疑难解决方法(0)

使用Visual Studio 2015在防火墙后面使用npm

我尝试在Visual Studio 2015中使用新的npm支持,但是遇到了一些问题.我位于公司防火墙后面.

我试图从package.json文件中添加"grunt",并且可以看到与npm相关的输出.

npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/grunt-bower-task
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin
npm http GET https://registry.npmjs.org/grunt-bower-task
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/grunt-bower-task
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin
npm ERR! Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR!     at SecurePair.<anonymous> (tls.js:1367:32)
npm ERR!     at SecurePair.emit (events.js:92:17)
npm ERR!     at SecurePair.maybeInitFinished (tls.js:979:10)
npm ERR!     at CleartextStream.read [as _read] (tls.js:471:13)
npm ERR!     at CleartextStream.Readable.read (_stream_readable.js:340:10)
npm ERR!     at EncryptedStream.write [as _write] (tls.js:368:25)
npm ERR! …
Run Code Online (Sandbox Code Playgroud)

node.js npm visual-studio-2015

5
推荐指数
2
解决办法
4049
查看次数

标签 统计

node.js ×1

npm ×1

visual-studio-2015 ×1