krasimir / techy

A flat file CMS based on Gulp and AbsurdJS
http://krasimir.github.io/techy
MIT License
250 stars 23 forks source link

": No such file or directory" error after install #1

Closed therebelrobot closed 10 years ago

therebelrobot commented 10 years ago

I ran the command

npm install -g techy

but once installed without errors, it fails to run even with a .md file in the folder. It returns:

: No such file or directory

Is there a global dependency that I need to upgrade or something? Or was this designed for a specific environment like MacOS?

"which techy" returns /home/USER/local/bin/techy, which is where all my global node cli's reside. Other cli's run without issue.

I'm running Ubuntu 13.04, Node v0.10.20 installed via NVM

therebelrobot commented 10 years ago

as a side note, when a command is not found or not installed correctly, my system returns:

zsh: command not found: [command]
krasimir commented 10 years ago

Thanks for the reporting. I'll try to fix this as soon as possible.

therebelrobot commented 10 years ago

Okiedokes. Lemme know if there's anything on my end you want me to try. Happy to assist :smiley:

krasimir commented 10 years ago

Thanks. It looks like it is something with the OS. I'm on Windows right, now but will install Ubuntu in my VirtialBox to test this issue.

zalun commented 10 years ago

Same on mine - OSX techy env: node\r: No such file or directory

krasimir commented 10 years ago

Ok, it looks like it's a big issue. Working to fix it.

krasimir commented 10 years ago

Can you guys let me know another Node.js CLI tool which works on your machines so I can spot the differences.

therebelrobot commented 10 years ago

Here's a list of my node CLI tools as of right now:

bower catjs chromix clocker cnpm codebox cool-face elfinder express forever foreverd grunt gulp hooks invoicer learnyounode minify node nodemon npm npmtop smog spot tldr uglifyjs ungit yeoman yo

You could be looking at an issue with the slash type; *nix systems use "/" for paths, while windows uses "\" for paths. Just a guess, given the issue seems to be linux/mac.

krasimir commented 10 years ago

Good suggestion. Will check that.

krasimir commented 10 years ago

Hi guys, can you please install the latest version of Techy (0.0.20) and try running it again. It should be fixed now. At least it is for my Ubuntu. P.S. the problem was with a wrong line ending set.

zalun commented 10 years ago

working, thanks

krasimir commented 10 years ago

Great. Thanks for the confirmation.

therebelrobot commented 10 years ago

Seems to be working now! You sir are a gentleman and a scholar.

krasimir commented 10 years ago

Good to see that it's working now. I'm closing this issue. Open it if the problem occur again.