错误! Buffer.alloc 不是函数
npm ERR! Buffer.alloc is not a function
我是 Angular 的新手 2. 我想在我的 windows 系统中安装 npm。但我收到以下错误:
npm ERR! Buffer.alloc is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\swayeole\AppData\Roaming\npm-cache\_logs17-09-07T10_04_
08_794Z-debug.log
- nmp 版本:5.4.0
- 节点版本:4.4.7
就我而言,在 http://nodejs.org
安装 node.js 的 LTS 或最新版本
安装后,NPM版本可能是低版本,但效果很好。
您可以更新到新版本的 NPM
我是 Angular 的新手 2. 我想在我的 windows 系统中安装 npm。但我收到以下错误:
npm ERR! Buffer.alloc is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\swayeole\AppData\Roaming\npm-cache\_logs17-09-07T10_04_
08_794Z-debug.log
- nmp 版本:5.4.0
- 节点版本:4.4.7
就我而言,在 http://nodejs.org
安装 node.js 的 LTS 或最新版本安装后,NPM版本可能是低版本,但效果很好。
您可以更新到新版本的 NPM