linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

issue with installing lineman #264

Closed ecasilla closed 10 years ago

ecasilla commented 10 years ago

node -v 0.10.26 npm -v 1.4.3

it is in my /usr/local/lib/node_modules but when i type lineman i get -bash: lineman: command not found

davemo commented 10 years ago

Hi @ecasilla, are you using a Mac or Linux? Also, how did you install NodeJS? And how did you install Lineman?

ecasilla commented 10 years ago

Mac, Homebrew, Npm

searls commented 10 years ago

Well, that's frustrating!

My guess is that you have a goofed-up node install where your global node binaries aren't being placed on your PATH and/or your permissions are screwy.

Try reinstalling node with the package installer at nodejs.org, then try:

$ sudo npm install -g lineman grunt-cli
$ lineman help
$ grunt

If, after that, grunt works and lineman doesn't, then it's apparently a lineman issue.

ecasilla commented 10 years ago

I have uninstalled node from homebrew reinstalled it with the package installer. before the installation I deleted everything everything in the /usr/local/lib/node_modules... giving it a fresh install i haved installed grunt-cli & karma and niether of them gives me the -bash: command not found. The path is exported not sure what else im missing

searls commented 10 years ago

Well, darn. I'll try to recreate this.

On Fri, May 16, 2014 at 10:44 AM, Ernie Casilla notifications@github.com wrote:

I have uninstalled node from homebrew reinstalled it with the package installer. before the installation I deleted everything everything in the /usr/local/lib/node_modules... giving it a fresh install i haved installed grunt-cli & karma and niether of them gives me the -bash: command not found. The path is exported not sure what else im missing

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/264#issuecomment-43339346

davemo commented 10 years ago

Hey @ecasilla, out of curiosity could you install the previous release with npm install -g lineman@0.29.3 and see if it gives you the same grief? I'm wondering if we've got a regression here.

searls commented 10 years ago

I just uninstalled node, reinstalled it (from the package installer), then sudo npm install -g grunt-cli lineman and both grunt and lineman work fine.

@ecasilla do you have a second machine you could try this on? I'm inclined to chalk this up to "borked dev machine" until I get a +1 from someone else or can reproduce

davemo commented 10 years ago

I can't reproduce here either. I tried the latest release and the previous release.

ecasilla commented 10 years ago

Hey guys sorry theres nothing wrong with lineman.. i figured it out there must of been a bad node_module hiding somewhere in my system i did a npm cache clean and reinstalled everything and it works thanks for the help anyways might want to add that to list or things people should do when they get that error :+1: