Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

md-seed command not found #2

Closed
james-ingold opened this issue Jun 7, 2017 · 1 comment
Closed

md-seed command not found #2

james-ingold opened this issue Jun 7, 2017 · 1 comment

Comments

@james-ingold
Copy link
Contributor

james-ingold commented Jun 7, 2017

Running the instructions from the readme,

npm install --save mongoose-data-seed
md-seed init

command not found: md-seed. Probably need to update the docs to install globally

@sharvit
Copy link
Owner

sharvit commented Jul 9, 2017

Hi, sorry for the late response.

I always prefer to install packages locally so all my packages listed inside the package.json, it makes it easier to maintain and collaborate.

I personally add this export to my .zshrc or (.bashrc):

export PATH="./node_modules/.bin:$PATH"

Alternatively, it is possible to use npm-run:
https://github.com/timoxley/npm-run

Or you can install it globally as you mention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants