npm-lockdown: v0.0.8-dev has wrong line endings for lockdown-relock file
I ran the following on OS X:
$ npm install --save lockdown@0.0.8-dev
[trim output]
$ ./node_modules/.bin/lockdown-relock
env: node\r: No such file or directory
The shebang line is looking for a command node\r
(where \r is a literal carriage return character) because the line endings are windows not unix. As a workaround you can run node manually node ./node_modules/.bin/lockdown-relock
- node itself does not care about the line endings.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 2
- Comments: 19
+1
Thanks to @rjmunro for the fix:
node ./node_modules/.bin/lockdown-relock