Closed jan11011977 closed 8 years ago
getNpmGlobalRoot currently always fails on Windows because it's not searching for "npm" in the path.
This can be easily fixed by adding "shell=True" to line 19 of esformatter.py, like so:
return subprocess.check_output(["npm", "root", "-g"], shell=True).rstrip().decode('utf-8')
Thanks
mind creating a PR?
Things have changed a bit with 2.0.0, I'm closing this, let me know if you still have problems
2.0.0
getNpmGlobalRoot currently always fails on Windows because it's not searching for "npm" in the path.
This can be easily fixed by adding "shell=True" to line 19 of esformatter.py, like so:
Thanks