Home > Cannot Read > Cannot Reat

Cannot Reat

Contents

tony0918 commented Jan 14, 2016 confirmed - locking vinyl-fs to 2.2.1 solves this ryuran referenced this issue in gulpjs/vinyl-fs Jan 14, 2016 Closed error on grunt-contrib-imagemin since 2.3.0 release #147 konstantin24121 Already have an account? matt-bailey commented May 5, 2014 I think this error can also be caused by the task trying to process directories rather than files. When I run grunt imagemin -vd --stack I get that : Options: interlaced, optimizationLevel=3, progressive, cache=false Fatal error: Cannot read property 'contents' of undefined TypeError: Cannot read property 'contents' of undefined

I was using '**/*.jpg' The use of grunt imagemin --verbose told me that I tried to match file with extension .jpg.map Switching to '**/*.{jpg}' made it to work flawlessly ravitadi commented Please replace the src like this : src: '[*/*.{png,jpg,jpeg,gif,svg}]', and put the path and specific images. Fatal error: Cannot read property 'contents' of undefined imagemin: { core: { expand: true, cwd: SOURCE_DIR, src: [ 'wp-{admin,includes}/images/**/*.{png,jpg,gif,jpeg}', 'wp-includes/js/tinymce/skins/wordpress/images/*.{png,jpg,gif,jpeg}' ], dest: SOURCE_DIR } }, matt-bailey commented May 5, 2014 Hmmm. Please use our new forums at discuss.codecademy.com. https://github.com/angular/angular-cli/issues/1997

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

Is this Business or Tourism? anbestephen commented Jan 13, 2016 @lorijoan it is working in my local build, but it is failing in travis-ci, i am also running 'npm cache clean' after 'npm install', i didn't Reload to refresh your session. Aborted due to warnings.

You signed in with another tab or window. psergei commented Nov 8, 2015 It is easy to workaround in grunt contrib imagemin, but I would prefer a root cause fix. In order to ensure a fast search for all of our users we have blocked your IP address. Cannot Read Word About this Plugin Google Analytics Counter Tracker Support Threads Reviews Topic Info In: Plugins and Hacks 9 replies 5 participants Last reply from: helena46 Last activity: 4 months ago 4.5.3 Status:

Using all latest imageimin 4.0.0, grunt-contrin-imagemin 0.9.4 Seems like one of the "stream" packages was updated. after removing "^" when specifying a version of vinyl-fs in package.json file , it builds successfully with this build-log. Using "vinyl-fs" not working for me. (node 0.12, win10) juliusosokinas commented Jan 13, 2016 @konstantin24121, make sure to add 2.2.1 version of vinyl-fs to your local devDependencies. https://github.com/gruntjs/grunt-contrib-imagemin/issues/208 Will have a fix for this later today.

kzko commented Jan 12, 2016 Thanks, adding "vinyl-fs": "2.2.1" to dependency resolved the issue to verified that you've downgraded correctly npm list vinyl-fs npm view vinyl-fs version jimmydave03 commented Jan 12, Npm Grunt-contrib-imagemin ernestorocha commented Nov 9, 2015 0.9.2 it's not working but 0.9.1 is. Click here to learn more. jeanmile referenced this issue in jeanmile/krysBurger Nov 9, 2015 jeanmile Fix Home page. 88caa39 aroget commented Nov 10, 2015 @michaelsanford fixed it synarque

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

To get round this I added a condition to the task, so that if it encountered an 'undefined' object it would just skip it and continue. check these guys out it is normal? Fatal Error: Cannot Read Property 'contents' Of Undefined Imagemin Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Cannot Read Synonym function Person(name,age) { this.name = name; this.age = age; this.species = "Homo Sapiens"; } var sally = Person("Sally Bowles", 39); var holden = Person("Holden Caulfield", 16); console.log("sally's species is " +

Fatal error: Cannot read property 'contents' of undefined grunt member kevva commented May 12, 2014 Try re-installing it now. kupiodigital commented Nov 9, 2015 Bearing in mind that it's probably been quite some time since I actually updated anything locally, (So there may be a large number of old version fghaas referenced this issue in IONISx/edx-theme Jan 1, 2016 Closed imagemin task failing with "Cannot read property 'contents' of undefined" #54 fghaas added a commit to fghaas/ionisx-edx-theme that referenced this issue 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 Update Grunt-contrib-imagemin

Could you add console.log(bin.use()) add see what output you get from it? how did you spot that was exactly that dep to get an update ? Click here to learn more. https://wordpress.org/plugins/analytics-counter/ Viewing 9 replies - 1 through 9 (of 9 total) pixelvfx @pixelvfx 4 months, 1 week ago Same thing happened to my site 2 days ago as well.

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 Cannot Read Property 'read' Of Undefined Angular Cli Strictly speaking, the reasons for the rejection were correct, but it has basically made it impossible for us to use this library (and many others) in production. RicardoVaranda commented Sep 10, 2016 • edited I've set awesome-typescript-loader to 2.2.1 without the ^ before doing an npm install on a fresh install of npm since in using docker container

gogromat commented May 22, 2014 For me it was the use of {} in pattern match.

Latest is broken. Dropbox Backup & Restore Support Team maddie22 @maddie22 4 months ago I'm the other account for nikkitorres. grunt member kevva commented Jul 4, 2014 @stefanfisk, it's because the image is corrupt. Cannot Read Property 'contents' Of Undefined Less imagemin: { dynamic: { files: [{ expand: true, cwd: '.', src: ['**/*.{png,jpg,gif}'], dest: '.'}] } } Thanks.

vinnybad commented Dec 25, 2015 1.0.0 fixes the issue! No code change... I had a lot of errors after generating the project, because a newer typescript version was choosen. 👎 1 matthiasbalke added a commit to matthiasbalke/infiniboard that referenced this issue Sep adambarthelson commented Nov 11, 2015 +1 for 1.0.0 giovannipds commented Nov 12, 2015 👍 for 1.0.0 heres too.

You signed out in another tab or window. damiendube commented Oct 17, 2015 Also started to have this issue yesterday. I am able to build locally , but i can't success travis-ci build. My cat sat down on my laptop, now the right side of my keyboard types the wrong characters What's the name of style where GM assumes idiotic behaviour unless stated otherwise?

Thanks! I'm not sure why our previous builds that were using imagemin 0.9.4 suddenly started breaking but my best guess is that's it related to this: 3352598 where grunt-contrib-imagemin was updated from Any ideas?: function Person(name,age) { this.name = name; this.age = age; this.species = "Homo Sapien"; } var sally = Person("Sally Bowles", 39, species); var holden = Person("Holden Caufield", 16, species); console.log("sally's I can add console.log(bin.use()) presumably this should be console.log(bin.use()); to the bottom of the index.js file here: \wp\node_modules\grunt-contrib-imagemin\node_modules\imagemin\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin\index.js But because I cannot use npm install via \wp\node_modules\grunt-contrib-imagemin\node_modules\imagemin\node_modules\imagemin-jpegtran\node_modules\jpegtran-bin to get the package

We recommend upgrading to the latest Safari, Google Chrome, or Firefox. Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. My build works locally, but when deploying via codeship (Which does a fresh npm install each time) it fails. ntwb commented May 14, 2014 This really is beyond me...

In my case I'm getting the same error as you when I use --force in an effort to get it skip corrupt files, but I also have my src set as seems that it was broken, fixed, and now broken again. I am trying to min all the images in a folder which has additional folders containing imgs inside of it. Could you post a working code snippet please?

blunatic commented Jan 13, 2016 I mistakenly was changing the root level package.json to have "vinyl-fs": "2.2.1" as dependency...I had to specifically fix it at grunt-contrib-imagemin/node_modules/imagemin/package.json in order for it to grunt member kevva commented May 14, 2014 As I said, clear your cache. Still, I was using 0.9.3, is the fix merged to it too? Instead of just skipping the image the task was stopping with a fatal error.

I think some underlying lib must have updated but can't figure out what. but it would work on the CI stedda commented Jan 14, 2016 @lpsBetty have you checked if the files are not corupted by git or repo when you upload them ? kaflan referenced this issue in NashaLeptaChallenge/nasha_lepta Mar 4, 2016 Closed NLCH-0004 Запускаем-билдим проект локально. Готовим свою личную github-page #5 musophob commented Mar 15, 2016 I resolved this by bumping grunt-contrib-imagemin in