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
[Bug]: command failed: command sh -c node install.mjs #11553
Comments
This issue was not reproducible. Please check that your example runs locally and the following:
Once the above checks are satisfied, please edit your issue with the changes and we will |
I'm not sure what the bug is here. What are you attempting to do? Install Puppeteer? Our CI shows that installing puppeteer is fine. From your issue, I'm afraid we cannot deduce the problem. It seems to be related to how your environment is set up. |
I have tested in a clean docker, with the installation according to the node.js website. This works. Previously I was using the node installation via snap. That might be the issue, as when I use the node.js installation on my machine it also works. So leaving this message for future references. |
The error can be reproduced if node is installed via snap. |
+1 for this being an issue when Node is installed via Snap on Ubuntu. |
I can reproduce this issue on Ubuntu 22.04 with Node.js installed via Snap (with both While searching for a solution, I stumbled upon a similar issue in Related issue report: nodejs/snap#25 |
Minimal, reproducible example
Error string
command failed: command sh -c node install.mjs
Bug behavior
Background
npm install
andnpm ci
don't workExpectation
Puppeteer should install fine.
Reality
Puppeteer configuration file (if used)
No response
Puppeteer version
21.6.1
Node version
18.18.0
Package manager
npm
Package manager version
10.2.4
Operating system
Linux
The text was updated successfully, but these errors were encountered: