![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
向往--全栈--之路
这个作者很懒,什么都没留下…
展开
-
npm 私有源无法下载解决方案
问题描述最近在使用npm install或者yarn install时会出现npm ERR! code E401npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"解决思路根据报错内容 401可能是认证问题,但是私服nexus下载依赖是不需要认证的(权限已经配置)所以排除此种可能使用npm cache clear --force清楚缓存 同时删除package-lo原创 2021-08-31 11:45:34 · 2016 阅读 · 0 评论 -
搭建nexus私有源问题及解决方案记录
maven 私有源配置待补充;node私有源配置Q1: npm源使用taobao镜像可以同步,但是下载node-sass时会出现问题,nexus无法同步下载相对应的*-binding.node文件。解决方法: 构建一个新的hosted类型的node-sass,然后从https://github.com/sass/node-sass/releases中下载相应版本的文件手动上传到nexus的node-sass中。pypi私有源配置...原创 2021-04-16 16:26:07 · 332 阅读 · 0 评论 -
node编译错误TypeError: Cannot read property 'compilation' of undefined
问题描述/xxxxxxx/node_modules/last-call-webpack-plugin/src/index.js:170 compiler.hooks.compilation.tap( ^TypeError: Cannot read property 'compilation' of undefined at Optimiz...原创 2019-09-21 22:47:05 · 888 阅读 · 0 评论