npm ERR! asyncWrite is not a function
程序员文章站
2022-07-10 22:02:21
1.背景:原先node是官网下载安装的,通过brew更新了下,然后到项目里npm i 安装包时候,报错2.解决:卸载官网下载安装的node,重装 ......
1.背景:原先node是官网下载安装的,通过brew更新了下,然后到项目里npm i 安装包时候,报错
2.解决:卸载官网下载安装的node,重装
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*} //卸载node
上一篇: 爬虫之简单验证码处理
推荐阅读
-
npm ERR! Cannot read property 'path' of null
-
npm ERR cb() never called报错原因及解决办法
-
npm ERR! asyncWrite is not a function
-
亲测解决npm ERR! Unexpected end of JSON input while parsing near...的方法
-
npm ERR! Unexpected end of JSON input while parsing near
-
npm ERR! Unexpected end of JSON input while parsing near '...Rg9e9zaVBZ
-
解决npm ERR! Unexpected end of JSON input while parsing near的报错问题
-
安装webpack遇到npm ERR! code E502以及npm ERR! A complete log of this run can be found in等问题的解决办法
-
npm install 报错 npm ERR!
-
npm ERR! Cannot read property 'path' of null