Skip to content
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

Error: spawn EPERM when installing gifsicle #66

Open
RicoVorihery opened this issue Oct 13, 2016 · 10 comments
Open

Error: spawn EPERM when installing gifsicle #66

RicoVorihery opened this issue Oct 13, 2016 · 10 comments

Comments

@RicoVorihery
Copy link

Good day,
can someone help me about this error please?
capture

@ekryski
Copy link

ekryski commented Oct 13, 2016

I'm seeing a similar error on OSX and Linux. Looks like for some reason node lib/install.js isn't working.

npm install imagemin-gifsicle
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!

> gifsicle@3.0.4 postinstall /Users/eric/Desktop/test/node_modules/gifsicle
> node lib/install.js

module.js:457
    throw err;
    ^

Error: Cannot find module './src/init'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/eric/Desktop/test/node_modules/gulp-sourcemaps/index.js:4:9)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

@jasonm
Copy link

jasonm commented Oct 13, 2016

I bet this is the same as imagemin/pngquant-bin#53 and related to https://www.npmjs.com/package/gulp-sourcemaps "published an hour ago"

@jasonm
Copy link

jasonm commented Oct 13, 2016

I think this is upstream gulp-sourcemaps/gulp-sourcemaps#238

@ekryski
Copy link

ekryski commented Oct 13, 2016

Yup it's looking like it. Thanks @jasonm

@jasonm
Copy link

jasonm commented Oct 13, 2016

Verified that adding + "gulp-sourcemaps": "1.7.1", to package.json fixes the issue for me

@eddiemonge
Copy link

All the comments after the first are for something different than the OP

@jasonm
Copy link

jasonm commented Oct 13, 2016

@eddiemonge is right, I misread. @ekryski and I share an issue but it appears to be different from this.

@alex87
Copy link

alex87 commented Jan 4, 2017

hi @RicoVorihery I am having a similar issue to you, did you find a work around or fix?

@majabee
Copy link

majabee commented Jan 4, 2017

I have the same problem gifsicle@3.0.4, jpegtran-bin@3.2.0, pngquant-bin@3.1.1 throw errors in installation process. Couldn't execute the ... binary. Make sure it has the right permissions.

@xinjingfen
Copy link

I have the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants