1

I'm running this command: npm install babel-preset-es2015 --save-dev, but it is very slow!

Also, Execute other codes (code below) has done very slow:

npm init npm install babel-cli babel-core --save-dev

I got this link to help fix the problem, but the problem is not resolved:

'npm install' extremely slow on Windows

I'm using Windows 10 and Git Bash to run commands with the latest npm version.

Who can help?

Community
  • 1
  • 1
Ali Hesari
  • 1,821
  • 5
  • 25
  • 51

1 Answers1

1

Try Yarn https://yarnpkg.com/en/

It will be faster than npm

a45b
  • 489
  • 3
  • 19
  • Yes, It's faster than **npm**. Certainly not the problem of npm servers.This problem is related to Windows. – Ali Hesari Apr 17 '17 at 07:23
  • My internet connection is not the problem. If the speed of the Internet. Why when using ‍`Yarn` well does it work? – Ali Hesari Apr 17 '17 at 07:28
  • Try `npm cache clean` after that install the package globally `npm install g babel-cli babel-core` – a45b Apr 17 '17 at 07:31