srod/node-minify

Node.js path error (Windows)

Closed this issue · 1 comments

Can you change in "libs/node-minifiy.js" the line:

 var prefix = (platform === 'win32') ? 'node ' : process.argv[0] + ' ';

to

var prefix = (platform === 'win32') ? '"' + process.argv[0].replace(/\\/g,'/') + '" ' : process.argv[0] + ' ';

If node.js is not installed, "node" on cmd can not be found!

srod commented

Fixed in 1.0.2, thanks !