Dawid Zbiński
Dawid Zbiński

Reputation: 5826

NPM error while installing angular-cli

I'm trying to reinstall angular-cli tool to get the newest version. I did upgrade the graceful-fs, tough-cookies and lodash before installation. Now when I try to install angular-cli globally it produces this error:

(node: 7736) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit

I'm running cmd.exe as an administrator, so I really can't find the solution what can be wrong with this one. Other global or local installations are successful.

Upvotes: 1

Views: 2666

Answers (1)

MD Sazid Hasan Dip
MD Sazid Hasan Dip

Reputation: 1513

I tried in many ways but nothing was working for me when I installed Windows 7 on a virtual machine and installed the latest Nodejs on it. Then using npm I installed angular/cli and everything is working well on that windows 7 :)

Even in windows 7 in actual pc it's working well so I guess it has some problems with Windows, mac or Linux version and Windows 7 is most effective for it...

Upvotes: 1

Related Questions