cliftonc / express-mvc-bootstrap

Application template for a structured Node.js, Express, [Sequelizer in devel, Mongoose in master/Mongoose Branch], EJS & JQuery Application
http://cliftonc.github.com/express-mvc-bootstrap/
273 stars 50 forks source link

eb - command not found #17

Closed andrewtennison closed 12 years ago

andrewtennison commented 12 years ago

probably being very thick, the project does not work on latest versions of node, but i love the setup of it so am trying to replciate a few elements in a new project.

From project directory typing ed = command not found. Is it dependent on another plugin or module I may have not setup, possibly that would be installed with npm install express-mvc-bootstrap?

Thanks for any assistance

cliftonc commented 12 years ago

Hi, you need to make sure you do an 'npm install -g', as this creates a link to the script in the ./bin folder.

Otherwise just do ./bin/eb from the root of the project?

Clifton

On 5 May 2012 15:50, andrewtennison < reply@reply.github.com

wrote:

probably being very thick, the project does not work on latest versions of node, but i love the setup of it so am trying to replciate a few elements in a new project.

From project directory typing ed = command not found. Is it dependent on another plugin or module I may have not setup, possibly that would be installed with npm install express-mvc-bootstrap?

Thanks for any assistance


Reply to this email directly or view it on GitHub: https://github.com/cliftonc/express-mvc-bootstrap/issues/17

andrewtennison commented 12 years ago

was being a bit thick, just investigated further and realised that eb is a JS file, so "node eb" is required to run it. I now just have the issue I cannot install globally due to compatibility issues with node, but I can investigate further how to replicate some of the functionality within the project. Thanks

cliftonc commented 12 years ago

Apologies, been a while since I looked at this project.

eb is actually in the root folder of the project, not bin, but is referenced in the package.json folder and so if installed via the 'npm install -g' route, there should be a simlink created in your NodeJS bin folder (wherever you have node installed).

To get it working I would try:

Clifton

On 8 May 2012 16:38, andrewtennison < reply@reply.github.com

wrote:

There does not appear to be an eb folder within bin, I assume it refers to a linux plugin/script that I do not have installed. The install for the project fails - Error: No compatible version found: express-mvc-bootstrap, which I assume checks this dependance?


Reply to this email directly or view it on GitHub:

https://github.com/cliftonc/express-mvc-bootstrap/issues/17#issuecomment-5577675

andrewtennison commented 12 years ago

there were a lot of issues with tests due to compatibility. I have had to upgrade my version to mocha, hopefully I will have a chance later this week to do some updates and create a pull. cheers Andy

salmansqadeer commented 12 years ago

Im having this issue as well, and note sure how to resolve it. I have done the "npm install -g" with no errors being reported, but whenever I run eb I still get command not found. Would love to know how to fix this since this looks like exactly what I was looking for.

Thanks in advance!