Skip to content

Failed to install native modules with Node installed via Snap #3

@leafac

Description

@leafac

I installed the node snap from channel 15/stable using the Ubuntu Software GUI. I have Python and the build-essential apt package installed, so I have a working setup for native modules in Node.js. Yet, the installation of native modules (for example, sharp and better-sqlite3) failed with no helpful error messages (not even in the log files); it just says that it failed to run the installation scripts.

I tried the deb packages and they worked, so it must have to do with the Snap.

What could be going on?

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