Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'gulp-util' #1

Closed
cdll opened this issue May 27, 2016 · 2 comments · Fixed by #3
Closed

Error: Cannot find module 'gulp-util' #1

cdll opened this issue May 27, 2016 · 2 comments · Fixed by #3
Assignees
Labels

Comments

@cdll
Copy link
Contributor

cdll commented May 27, 2016

here s my task below:

let prelink= require('gulp-pre-link')
gulp.task('prelink', ()=>{
  return gulp.src('src/*.html)
  .pipe(prelink({}))
  .pipe(gulp.dest('build/'))
})

but is there any dependences that was dismissed caused i got an error msg like:

module.js:339
    throw err;
    ^

Error: Cannot find module 'gulp-util'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)

could u help with it~

@openks
Copy link
Owner

openks commented May 28, 2016

from the msg 'gulp-util' is depended ,i will check other dependences on monday,sorry about that!

@cdll
Copy link
Contributor Author

cdll commented May 28, 2016

that will be nice and thanks for the reply~now i manualy had 'gulp-util' package installed and the task run into work but i had another problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants