Closed ToastShaman closed 10 years ago
Just checked again sources. the only place where "\" used is for escaping new line like "\n" Take a look a look https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.ui/templates/copier.js
Could you give the error with stacktrace & line numbers.
oh, I got it, that is about line endings in the source file. I will need to convert the endings.
fixed in v0.8.2 (already published)
I just installed Nodeclipse today and I'm getting the same error.
$ node -v v0.11.11 $ nodeclipse -v env: node\r: No such file or directory $ nodeclipse -p env: node\r: No such file or directory
{ "name": "nodeclipse", "version": "0.10.5", "description": "nodeclipse CLI - prepare Node.js project to be imported into Eclipse (Nodeclipse)", "main": "copier.js", "scripts": { "test": "test" },
OK, seems that UNIX line ending were lost.
@grantkl Thank you for letting know.
fixed with 0.10.6 version
Thanks for the quick fix. It works now.
Mac OSX 10.9 I am getting the following error:
when I try to run "nodeclipse -p" on an existing node project. It seems that the nodeclipse.js file uses dos line endings. I've manually converted the line endings to unix format and that seemed to resolve the issue.