Gulpfile not found

I am new to laravel. I am trying to execute the nmp install command. this does not work. Then, as shown in their official documentation, I tried

npm install --global gulp-cli

but I was denied access. Therefore I gave

sudo npm install --global gulp-cli

It seemed to give me the correct result. then i gave

npm install --no-bin-links

but he says that

"npm WARN vagrant@1.0.0 No description npm WARN vagrant@1.0.0 No repository field."  I tried

npm install -d

although the result ended "ok" (first line after the command to start said "it worked, if it ends in ok"), it still contains ""npm WARN vagrant@1.0.0 No description npm WARN vagrant@1.0.0 No repository field."  and when I gave the command

gulp

no answer found gulpfile. There is a gulpfile.js file in my project (I'm not sure which gulpfile it is talking about: \)

what to do? My version is nodeV5.12.0

+4
source share
3 answers

, gulp gulpfile.js . , gulpfile.js , .

gulpfile.js,

var gulp = require('gulp');
gulp.task('default', function () { 
    console.log('Hello Gulp!') 
});
+3

, , "no gulpfile found" gulp.js gulpfile.js.

, .

, , - gulp .

+2

. gulpfile.js , gulpfile.js.txt, gulp . , .

0

Source: https://habr.com/ru/post/1651179/


All Articles