-
Notifications
You must be signed in to change notification settings - Fork 3
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
TypeError when running single task #5
Comments
If you figure out a solution I would accept a pull request. |
I'm not too familiar with writing the actual plugins, but I'll keep an eye out! |
@NickyL can you try |
I'll give it a go tomorrow. I'll let you know! |
@chmontgomery I still get the exact same error after updating to |
can you paste in the contents of your |
My relevant "devDependencies": {
"dedupe": "1.0.0",
"gulp": "3.8.11",
"gulp-angular-htmlify": "2.1.1",
"gulp-autoprefixer": "2.0.0",
"gulp-concat": "2.4.2",
"gulp-if": "1.2.5",
"gulp-imagemin": "^2.2.1",
"gulp-jshint": "1.9.0",
"gulp-livereload": "3.0.2",
"gulp-minify-css": "0.5.1",
"gulp-minify-html": "0.1.8",
"gulp-plumber": "0.6.6",
"gulp-processhtml": "1.0.2",
"gulp-rename": "^1.2.0",
"gulp-sass": "1.3.3",
"gulp-shrinkwrap": "^2.0.1",
"gulp-sourcemaps": "1.5.0",
"gulp-typescript": "2.4.2",
"gulp-uglify": "1.0.2",
"gulp-util": "3.0.1",
"merge2": "^0.3.1",
"morgan": "1.5.1",
"node-sass": "2.0.1",
"yargs": "1.3.3"
},
"dependencies": {
"body-parser": "1.10.0",
"express": "4.10.6",
"mongoose": "3.8.23"
} |
@NickyL Using your [22:13:22] Using gulpfile ~/Projects/test/1/gulpfile.js
[22:13:22] Starting 'shrinkwrap'...
[22:13:22] Build Successful!
[22:13:22] 'shrinkwrap' errored after 5.65 ms
[22:13:22] TypeError: Object #<Object> has no method 'on'
at DestroyableTransform.Stream.pipe (stream.js:65:8)
at Gulp.<anonymous> (/Users/montgomeryc/Projects/test/1/gulpfile.js:9:7)
at module.exports (/Users/montgomeryc/Projects/test/1/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/montgomeryc/Projects/test/1/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/montgomeryc/Projects/test/1/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/montgomeryc/Projects/test/1/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
at /Users/montgomeryc/.nvm/v0.10.33/lib/node_modules/gulp/bin/gulp.js:129:20
at process._tickCallback (node.js:419:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:906:3 The problem has to do with your rm -r node_modules
npm cache clean
npm install |
I have a very simple gulp task setup to run like so:
But when I run it, it keeps running into the same error. I'm assuming it's a bug, because I searched the internet for solutions, none found. Since this is the only plugin affected, I figured it's most likely a bug. However, it does write the actual
npm-shrinkwrap.json
file.Bug in ternminal:
You can ignore the 'Connected to MEAN Developer Database' in between.
The text was updated successfully, but these errors were encountered: