A
A
Alexander Florinsky2015-02-02 12:50:04
Node.js
Alexander Florinsky, 2015-02-02 12:50:04

How to install gulp locally?

Good afternoon.
Faced a problem.
There is a working machine on Windows, but there are no admin rights.
I want to install Gulp.
I install. It is placed in my user folder. But when run in CMD, the error
"Gulp is not recognized as an internal or external command, operable program, or batch file."
I installed gupl as admin and everything worked as admin.
Is it possible to somehow configure it so that a user without admin rights can use gulp?
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
copal, 2015-02-02
@flor_master

Launch the console from the folder where you want to install Gulp.
You can launch the console from the desired folder by typing cd
in the console, followed by a space, and then dragging the desired folder into the console.
After installation, a node_modules folder should appear in which
there will be a .bin folder. Launch the console from this folder and then run Gulp.

Y
yttrium, 2015-02-02
@yttrium

you need to add to the PATH environment variable the path to your home folder, where the gulp executable file has gone.
Or run gulp with the full path.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question