Skip to content

Error: librsvg-2.so.2: cannot enable executable stack as shared object requires:  #3917

@Lc0rE

Description

@Lc0rE

Description

After upgrading both gatsby-cli and all the gatsby-* dependencies and plugins in the package.json, I'm facing the following error invoking gatsby-develop:

error UNHANDLED EXCEPTION

Error: librsvg-2.so.2: cannot enable executable stack as shared object requires: Invalid argument

- v8-compile-cache.js:159 require
    [trucioli-di-legno]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - constructor.js:10 Object.<anonymous>
    [trucioli-di-legno]/[gatsby-plugin-sharp]/[sharp]/lib/constructor.js:10:15

  - v8-compile-cache.js:178 Module._compile
    [trucioli-di-legno]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - v8-compile-cache.js:159 require
    [trucioli-di-legno]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - index.js:3 Object.<anonymous>
    [trucioli-di-legno]/[gatsby-plugin-sharp]/[sharp]/lib/index.js:3:15

  - v8-compile-cache.js:178 Module._compile
    [trucioli-di-legno]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - v8-compile-cache.js:159 require
    [trucioli-di-legno]/[v8-compile-cache]/v8-compile-cache.js:159:20

Environment

Gatsby version: 1.9.183
Node.js version: 8.9.4
Operating System: Windows 10 on WSL (Ubuntu)

Any ideas on what could cause this unexpected behavior? This only occurs on the WSL substrate on Windows 10. I tested it on macOS and it works fine.

I tried to delete both node_modules, .cache/ and build/ folders but nothing changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions