scivey / bower-copy

Copy main script files of bower components to an arbitrary destination directory.
MIT License
1 stars 2 forks source link

no such file or directory #1

Open syndr0m opened 9 years ago

syndr0m commented 9 years ago

https://github.com/scivey/bower-copy/blob/master/bin/cmd.js#L1

!/usr/bin/env node is ending with a "\r"

leading to "no such file or directory" error under linux

$> node_modules/.bin/bower-copy -d static/js/components
No such file or directory
$> strace node_modules/.bin/bower-copy
(...)
execve("/usr/local/bin/node\r", ["node\r", "node_modules/.bin/bower-copy", (...) = -1 ENOENT (No such file or directory)
dotnetCarpenter commented 8 years ago

@syndr0m I'm going through bower-copy and are wondering if this is still an issue. I'm on Windows so can test myself.