简体   繁体   中英

gulp command not working on laravel Elixir on windows

I was trying to run the gulp command in the windows command promptafter installing node_modules in my laravel installation but it came back with this error in my windows command prompt :-

'gulp' is not recognized as an internal or external command, operable program or batch file. I was trying to use Lavarel Elixir and as in the Laracast videos I was trying to get the gulp command working on my command prompt but it shows

I installed node_modules using the below command

npm install --no-bin-links

it installed all the files

I am using Netbeans as my IDE and it is showing an error in the node_modules folder also , so I am unsure as to how to get this fixed and Working

在此处输入图片说明

My Work Environment is Apache through MAMP OS :- Windows 10 IDE :- Netbeans

Thanking you in anticipation

在此处输入图片说明

In order to be able to run gulp you need to install the gulp command line interface globally like so: npm install -g gulp-cli . Afterwards you need to add a gulpfile.js where you would configure your builds/tasks. For more information check out the official "Getting started" guide and the docs on gulp: https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM