You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
After running sudo npm install http-server I ran make runlocal which spit out this error message:
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.
The text was updated successfully, but these errors were encountered: