npm ERR! asyncWrite is not a function
Posted cynthia-wuqian
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm ERR! asyncWrite is not a function相关的知识,希望对你有一定的参考价值。
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! asyncWrite is not a function的主要内容,如果未能解决你的问题,请参考以下文章
安装完最新的node之后,控制台中npm i webpack -g安装失败,提示asyncwrite is not afunction ,该怎么办
npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file
输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.1 postinstall: `no
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! notarget No matching version found for xxx@^1.0.64. npm 插件安装失败