javascript-tutorial / server

Server for the Modern Javascript Tutorial
https://javascript.info
Other
452 stars 138 forks source link

./node_modules/.bin/gulp #23

Closed ode22 closed 5 years ago

ode22 commented 5 years ago

Hi I run: "./edit en" And get: sh: ./node_modules/.bin/gulp: No such file or directory

My system is Mac OS 10.14.3 Installed node with nvm Node version: 11.10.0 nvm version: 0.34.0

iliakan commented 5 years ago

Does that file ./node_modules/.bin/gulp actually exists or not?

ode22 commented 5 years ago

I installed node with nvm so that it's on: ~/.nvm/versions/node/v11.10.0/lib/node_modules/gulp

iliakan commented 5 years ago

It can't find a local module.

Did you do npm install?

ode22 commented 5 years ago

I did "nvm install node", "nvm use node"

iliakan commented 5 years ago

That's not enough, read the instruction.

21 февр. 2019 г., в 16:30, ode22 notifications@github.com написал(а):

I did "nvm install node", "nvm use node"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iliakan/javascript-tutorial-server/issues/23#issuecomment-465999921, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVUmCQU1ip8CPFrxO_sxU3BFVsCTgR9ks5vPp97gaJpZM4bFkCr.

ode22 commented 5 years ago

Did a regular node installation (not nvm) gulp is installed on /usr/local/lib/node_modules not on the local directory as the command suggests. Should it be copied to the local directory?

iliakan commented 5 years ago

Please go to the tutorial server directory and run npm install in it.

ode22 commented 5 years ago

Works. Thanks!