Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6025

How to solve an error on Puppeteer instalation using npm on Ubuntu

$
0
0

I'm trying to install Puppeteer (https://pptr.dev/) globally on Ubuntu 20.04:

$ sudo npm install puppeteer -g

I received this error message:

npm error code 1npm error path /usr/local/lib/node_modules/puppeteernpm error command failednpm error command sh -c node install.mjsnpm error A complete log of this run can be found in: /root/.npm/_logs/2024-05-03T19_37_45_119Z-debug-0.log

My node version is v18.20.2My npm version is 10.5.0

What could be causing this error?


Viewing all articles
Browse latest Browse all 6025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>