Closed lucaong closed 10 years ago
It's actually the shebang line in scripts in the bin
folder. It ends with a Dos/Windows newline (\r\n
), so the OS looks for an executable called node\r
. Open it with Vim in Unix and you see:
#!/usr/bin/env node^M
That said, source files in version 0.7.9
all seem to contain Dos newline sequences. I suggest running dos2unix
on all source files to convert all of them into Unix format.
New version 0.7.10 published from Linux. The mentioned files don't contain the windows newline anymore.
With version
0.7.9
, when I run buster I get this exception (on OSX). All fine with0.7.8
. Apparently the issue is caused by some source files being in Dos/Windows format rather than in Unix format.The issue is fixed by converting all files to Unix format:
dos2unix ./node_modules/buster/**/*