Home > Cannot Read > Fatal Error: Cannot Read Property 'contents' Of Undefined Imagemin

Fatal Error: Cannot Read Property 'contents' Of Undefined Imagemin

Contents

grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-imagemin'); // 4. Thanks! Already have an account? asked 10 months ago viewed 2634 times active 8 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 1Getting error when running grunt-contrib-imagemin5Fatal error: This socket is closed this contact form

Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. npm will automatically download 2.3.1. adambarthelson commented Nov 11, 2015 +1 for 1.0.0 giovannipds commented Nov 12, 2015 👍 for 1.0.0 heres too. This grunt plugin does not cause the problem, it is the victim of the bug created in vinyl-fs. page

Fatal Error: Cannot Read Property 'contents' Of Undefined Imagemin

That fixed it:) Sayyad Bacchus about 1 year ago Awesome! lorijoan commented Jan 13, 2016 Sorry - that should've said delete in the front. I'm not using vinyl-fs for anything, but adding "vinyl-fs": "2.2.1" at the end of a list of devDependencies helped. looking through the package dependencies of grunt-contrib-imagemin I cannot find bin-wrapper to manually bump it's version to 0.3.4, what package is using bin-wrapper so I can bump the version and test

npm install --save [email protected] nitinsangal commented Oct 28, 2015 Hi, I am facing an issue "Fatal error: Cannot read property 'contents' of undefined" . Here is the output of console.log(bin.use()) placed before fs.exists() and after BinWrapper TypeError: Object # has no method 'use' dheian commented May 18, 2014 Having the same error here when I It must work. Cannot Read Word steveu commented Nov 9, 2015 +1 Same error here (was working on Friday with fresh npm install). [update] Downgrade to 0.9.1 is working, 0.9.3 is not sergioadorna commented Nov 9, 2015

psergei commented Nov 8, 2015 It is easy to workaround in grunt contrib imagemin, but I would prefer a root cause fix. Imagemin:dist Fatal Error: Cannot Read Property 'contents' Of Undefined gruntjs/grunt-contrib-imagemin#208 (comment) 810535b MagiCarbon referenced this issue in angular-fullstack/generator-angular-fullstack Jan 13, 2016 Closed the imagemin task error #1555 alanshortis commented Jan 13, 2016 As @RemeJuan - upgrading to 1.0.0 Terms Privacy Security Status Help You can't perform that action at this time. https://github.com/gruntjs/grunt-contrib-imagemin/issues/208 Instead of just skipping the image the task was stopping with a fatal error.

Mac OSX (Yosemite? Npm Grunt-contrib-imagemin wardoost commented Nov 9, 2015 +1 for merging @psergei fix mickro commented Nov 9, 2015 +1 for merging @psergei fix samgooch commented Nov 9, 2015 +1 for merging @psergei fix errok Running wp master* $ grunt imagemin:core --force Warning: Command failed: Used --force, continuing. Visit http://ember-cli.com/user-guide/#watchman for more info.

Imagemin:dist Fatal Error: Cannot Read Property 'contents' Of Undefined

Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 47 Star 1,147 Fork 166 gruntjs/grunt-contrib-imagemin Code Issues 27 Pull requests 1 Projects http://es.bab.la/diccionario/ingles-espanol/cannot-read Reload to refresh your session. Fatal Error: Cannot Read Property 'contents' Of Undefined Imagemin rywalsh commented Jan 12, 2016 Adding "vinyl-fs": "2.2.1"as dependency was the answer for me too. Cannot Read Synonym One of the many ways that the NPM ecosystem seems to actively discourage stability....

Why does the Minus World exist? weblink splintercode commented Sep 6, 2016 Yeah just ran into this as well. Click here to learn more. anbestephen commented Jan 13, 2016 @juliusosokinas here is travis-ci build and my repository. Update Grunt-contrib-imagemin

Generated Tue, 08 Nov 2016 11:34:05 GMT by s_wx1196 (squid/3.5.20) jorrit commented Jan 13, 2016 The fix should be made in imagemin and/or vinyl-fs. Using all latest imageimin 4.0.0, grunt-contrin-imagemin 0.9.4 Seems like one of the "stream" packages was updated. navigate here I think it has something to do with the change of vinyl-fs lpsBetty commented Jan 14, 2016 ...

ravitadi changed the title from Fatal error: Cannot read property 'contents' of undefined inside folder to Fatal error: Cannot read property 'contents' of undefined Apr 30, 2014 matt-bailey commented May 2, Cannot Read Property 'read' Of Undefined Angular Cli Were you able to find a work around? waitting resolve it.

samhax commented Jan 13, 2016 @stedda Thanks!!! @lpsBetty you're almost there, you're missing [ ] src: '[*/*.{png,jpg,jpeg,gif,svg}]' , TanKucukhas commented Jan 13, 2016 Adding the code to package.json "scripts": {
"postinstall":

Feels like a minor dependency somewhere in the tree which has been changed. schmod commented Jan 13, 2016 I suggest this project use fix version for dependency to avoid this in future. Adverb for "syntax" Should I create multiple maintenance plans to backup more than 200 User databases Was a massive case of voter fraud uncovered in Florida? Cannot Read Property 'contents' Of Undefined Less Please try the request again.

Fixes IONISx/edx-theme#54.">Bump grunt-contrib-imagemin dependency to version 1.0.0 … See issue gruntjs/grunt-contrib-imagemin#208 for explanation of why the prior version would cause a fatal "Cannot read property 'contents' of undefined" error when processing I was previously on grunt-contrib-imagemin version 0.9.4, but had the latest imagemin 3.2.2. svgmin also used {} thanks again for the solution :) else referenced this issue in raumzeitlabor/rzl-homepage Jan 18, 2016 Merged [email protected] breaks build 🚨 #218 mdavidcu commented Jan 30, 2016 +1 http://dekovsoft.com/cannot-read/cannot-read-property-39-0-39-of-undefined-javascript.html Your code threw the following error when sally's name was checked: TypeError: Cannot read property 'name' of undefined" in the little box above the "save and submit code" button.

For npm 3 you can use a partial shrinkwrap. You signed in with another tab or window. tfvictorino commented Jan 15, 2016 Can confirm that removing vinyl 2.2.1 worked here as well.