Skip to content

node 16 via snap fails to install puppeteer but it works with .deb node #25

Open
@mo

Description

If I install node using sudo snap install node --classic --channel=16 and then run npm install puppeteer then I get this error:

npm ERR! code 1
npm ERR! path /opt/abc/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js

...however, if I uninstall the snap version and install via .deb package, then everything works. I.e. it works when I install via:

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs

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