Open manejsh opened 7 years ago
same issue here.
You will not be able to run this inside windows, you need a real Linux webserver.
You can run Ubuntu server inside windows using VMware Player or Virtualbox. This is the proper way to have a local development environment.
Alternately, you could use something like Koding.com : http://www.koding.com/ This is the faster way to go if you have never set up a Linux development environment before.
having the same issue on Ubuntu 16.04
It worked fine at the first project, but after starting the second project this error appeared. I'm using windows.
Update your npm and your node to the latest version, or set the stable version.
It seens that the problem was in Atom terminal. When I use Windows cmd or powershell, it works just fine.
Linux ends up being a much better platform for web dev. Because it's open source, things are actually developed with Linux in mind, and any Windows compatibility is a second thought that usually isn't up to par with the way the software is developed for Linux.
In my experience, spending some time learning the basics of Linux (with something like an Ubuntu VM running in VirtualBox) pays off. You end up having a much less stressful time.
Ironically, Node.js and React etc are some of the easiest things to develop on Windows. If you ever go into other stuff like Ruby on Rails, you'll find the differences are even more dramatic, and it's even harder to use Windows.