npm yarn 换淘宝源
项目经常要用到sass,这个东西,你翻墙都不一定能装上去,所以很烦,只能换源的方式安装。
npm 换源
npm config set registry https://registry.npm.taobao.org/ // 设置npm镜像源为淘宝镜像
npm config get registry // 查看npm当前镜像源
yarn 换源
yarn config set registry https://registry.npm.taobao.org/ // 设置yarn镜像源为淘宝镜像
yarn config get registry // 查看yarn当前镜像源
版权申明
本文系作者 @木灵鱼儿 原创发布在木灵鱼儿站点。未经许可,禁止转载。
评论
最新文章
Debian12 SSH连接报错:Error Handshake failed no matching host key format
0点赞
·
0评论
Prisma 使用MongoDB创建数据时报错:Prisma needs to perform transactions, which requires your MongoDB server to be run as a replica set.
0点赞
·
0评论
Prisma 初始化MongoDB数据库下载报错reason unable to verify the first certificate解决方案
0点赞
·
0评论
Nuxt3 useFetch和$fetch的探讨以及封装请求处理
0点赞
·
3评论
Nuxt3使用pinia并持久化处理,同时配置自动引入自定义的仓库store模块
0点赞
·
0评论
暂无评论数据