Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global install in Windows is broken #6

Open
spyrosmas opened this issue Jul 21, 2018 · 1 comment
Open

Global install in Windows is broken #6

spyrosmas opened this issue Jul 21, 2018 · 1 comment

Comments

@spyrosmas
Copy link

How to install in Windows so the strip-js < input.html command can work to be called from bat/cmd batch file?

@shivanshu3
Copy link
Owner

npm install -g strip-js should ideally be a solution for that. It works in Linux, but doesn't work on Windows because of this line in cli.js:

var html = fs.readFileSync('/dev/stdin').toString();

I'll try to fix this in a few days when I get some time. If you have a solution, feel free to send a pull request :)

@shivanshu3 shivanshu3 changed the title Globlaly install in Windows Global install in Windows is broken Jul 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants