

The permissions on my assets/images folder, and the images in it, also look like they’re okay: assets/ĭrwx- 1 ben ben 4.0K Jul 1 12:06 images I did check the permissions on the folder I got from npm config get prefix, and they appear to be correct (“ben” is my user): /home/ben/.nvm/versions/node/v0.12.0ĭrwxrwxr-x 7 ben ben 4.0K Mar 17 19:01 v0.12.0 I checked out your link but I have Node/NPM installed through NVM so I’m not sure if it’s the same process. ⚠ Couldn't execute the `/path/to/project/dev/site/web/app/themes/proj_name/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/vendor/pngcrush` binary. > postinstall /path/to/project/dev/site/web/app/themes/proj_name/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin Ode_modules/jpegtran-bin/vendor" -bindir="/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-biĬonfigure: error: no nasm (Netwide Assembler) foundĪt ChildProcess.exithandler (child_process.js:744:12)Īt Process.ChildProcess._handle.onexit (child_process.js:1080:5) configure -disable-shared -prefix="/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/n Tran-bin/vendor" -bindir="/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/vendor" & makĬommand failed: /bin/sh -c. configure -disable-shared -prefix="/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpeg ⚠ Couldn't execute the `/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/vendor/jpegtran > postinstall /path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin ⚠ Couldn't execute the `/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng` b Npm WARN optional dep failed, continuing postinstall /path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin

#Gifsicle not working vagrant box install#
I get some errors when I run npm install that I think might be related, since they seem to have to do with gulp stuff that relates to images (warning, this is a long chunk of text): ⚠ gifsicle pre-build test failed I tried deleting my node_modules folder as it suggested and re-running npm install it had no effect: I still get the exact same error. I’ve read a few threads from people who seem to be having the same problem like this one: Gulp Error: spawn EACCES resulting from images added to asset folder.

(/path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/exec-buffer/index.js:91:3)Īt /path/to/project/dev/site/web/app/themes/proj_name/node_modules/wiredep/node_modules/bower-config/node_modules/graceful-fs/graceful-fs.js:104:5Īt /path/to/project/dev/site/web/app/themes/proj_name/node_modules/gulp-rev/node_modules/vinyl-file/node_modules/graceful-fs/graceful-fs.js:42:10 Finished 'scripts' after 4.6 sĪt exports._errnoException (util.js:746:11)Īt ChildProcess.spawn (child_process.js:1155:11)Īt exports.spawn (child_process.js:988:9)Īt exports.execFile (child_process.js:682:15)Īt ExecBuffer. When I run gulp or gulp build, or when I add an image to the assets/images folder when gulp watch is running, I get the following error and gulp dies and dumps me to the command line: Using gulpfile /path/to/project/dev/site/web/app/themes/proj_name/gulpfile.js
