![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Node
在你之后
皮卡丘不会放十万伏特
展开
-
Mac安装brew nvm node yarn前端环境
1.使用脚本安装,选择中科大的,然后安装,安装完成后就会设置镜像了/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"brew updatebrew install nvm% mkdir ~/.nvm% vi ~/.zshrc原创 2022-03-14 19:37:18 · 2862 阅读 · 0 评论 -
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime。解决方案:1.不用回退node版本,而是升级node-sass。update你的sass版本即可:npm rebuild node-sass2.或者自己手动升级:1.先卸载npm uninstall --save node-sass2.清除缓存npm cache clean -f3.升级原创 2022-03-13 17:18:31 · 6898 阅读 · 0 评论 -
ERESOLVE unable to resolve dependency tree
windows ERESOLVE无法解析依赖关系树升级 npm 至 v7.6.2 后, 运行 npm i 安装依赖,报错 ERESOLVE unable to resolve dependency tree等依赖项中存在无法解决的冲突,npm@7 现在尝试安装它们,而npm@6没有。或者是安装的是新版本的node,跑的是前两年的项目就会出现这个问题;产生该问题的主要原因是因为本地的npm版本太高了npm i --legacy-peer-deps如果在安装过程中出现ERR “python2” in原创 2022-03-13 17:13:52 · 5746 阅读 · 0 评论 -
windows cnpm在此系统上禁止运行
cnpm : 无法加载文件D:\nodejs\node_global\cnpm.ps1,因为在此系统上禁止运行powershall使用管理员运行,输入set-ExecutionPolicy RemoteSigned命令并运行,选择Y原创 2022-03-13 17:06:18 · 593 阅读 · 0 评论 -
mac npm ERR gyp verb find Python checking if “python3“ can be used
安装pythonbrew install python mac默认是2.7的python,查看,并退出pythonexit()安装完成后,查看并退出,目前是3.8.9,这个问题不需要去关联覆盖原有的python配置python3exit()然后执行一下命令即可npm installnpm run dev...原创 2022-03-13 17:04:38 · 3834 阅读 · 0 评论