johnpapa / gulp-patterns

Playground for Gulp Recipes
501 stars 146 forks source link

Error in plugin 'gulp-inject' #126

Open yuvilla opened 7 years ago

yuvilla commented 7 years ago

Hello I'm starting with angular and when starting the server to check if all is well, I have this error C: \ angular> gulp [14:12:09] Using gulpfile C: \ angular\ gulpfile.js [14:12:09] Starting 'server' ... [14:12:09] Finished 'server' after 24 ms [14:12:09] Starting 'inject' ... [14:12:09] 'inject' errored after 17 ms [14:12:09] Error in plugin 'Gulp-inject' message: There is no read option. Did you mean to Provide for gulp.src Perhaps it? [14:12:09] Server started http: // localhost: 3000 [14:12:09] LiveReload started on port 35729

I am using this version gulp-inject@4.1.0

Someone could help me. Thanks for your time

augustolima commented 7 years ago

I have the same issue.

Did you fixed up?

scofieldjs commented 6 years ago

solution https://stackoverflow.com/questions/44176637/gulp-inject-throw-error-as-did-you-mean-to-provide-it-for-gulp-src-perhaps