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

doesn't work with locally installed dependencies? #5

Closed
ianstormtaylor opened this issue Mar 2, 2016 · 2 comments
Closed

doesn't work with locally installed dependencies? #5

ianstormtaylor opened this issue Mar 2, 2016 · 2 comments

Comments

@ianstormtaylor
Copy link

When I try to use it as a locally installed dependency, I get:

./node_modules/.bin/make-help: line 45: cd: ../make-help/bin: No such file or directory
./node_modules/.bin/make-help: line 45: cd: /Users/Storm/dev/contentshq/api/../lib: No such file or directory
awk: can't open file /Users/Storm/dev/contentshq/api/commented-targets.awk
 source line number 1 source file /Users/Storm/dev/contentshq/api/commented-targets.awk
 context is
     >>>  <<< 

Would love to use this, but I'd like to install it locally so that it doesn't add a hidden global dependency to the current project.

@gibatronic
Copy link
Owner

sure, in my projects I also use it locally.
but I don't understand how you got that error.

please, take a look in this project where I use it: github.com/rbsdev/scaffolding-front-end.
there make-help is declared as a regular dependency in devDependencies.
and in the tasks/help file you can see make-help being called.

let me know if you run into any problem!

@gibatronic
Copy link
Owner

I saw what the problem was and fixed it, thanks for reporting it!
the script was getting lost while trying to resolve relative paths into absolute ones.

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