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

make runlocal looks for httpserver in wrong location #330

Open
azy2 opened this issue May 12, 2015 · 0 comments
Open

make runlocal looks for httpserver in wrong location #330

azy2 opened this issue May 12, 2015 · 0 comments

Comments

@azy2
Copy link

azy2 commented May 12, 2015

After running sudo npm install http-server I ran make runlocal which spit out this error message:

Building level file…\t\t\t\c
[ Done ]
Merging JS files…\t\t\t\c
[ Done ]
Running local instance
./node_modules/http-server/bin/http-server -p 9001 -c-1
make: ./node_modules/http-server/bin/http-server: Command not found
Makefile:136: recipe for target 'runlocal' failed
make: *** [runlocal] Error 127

The makefile is looking in the project directory ./ and not my home directory. Simply changing line 137 of the make file from
./node_modules/http-server/bin/http-server -p 9001 -c-1
to
~/node_modules/http-server/bin/http-server -p 9001 -c-1
fixed the problem.

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

1 participant