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

Version issue #379

Closed mo3rfan closed 8 years ago

mo3rfan commented 8 years ago

Lineman reports incorrect version?

When I check for the version by running lineman version it says 0.36.0, but when I do npm -g list lineman I get

/usr/lib
`-- lineman@0.36.4 
searls commented 8 years ago

The lineman CLI when installed glovally, will always delegate to the locally installed lineman (if it exists). In this case you have 0.36.4 globally and very likely 0.36.0 installed in your app's node_modules directory.

Reopen if I'm wrong though

mo3rfan commented 8 years ago

Oh, yes my bad.. I found a symlinked executable in /usr/local/bin that pointed to the old one in /usr/local/lib/node_modules/lineman/... and I just needed my shell to use the one from /usr/bin/ instead. I deleted /usr/local/bin/lineman and it's all fine now.

The culprit was probably the NODE_PATH env variable which was changed (I'm not sure what led to this.. must be some node/npm upgrade)

Sorry for the false alarm!