treosh / exthouse

Analyze the impact of a browser extension on web performance.
MIT License
409 stars 9 forks source link

npm install error #34

Closed FormerBuckeye closed 3 years ago

FormerBuckeye commented 3 years ago

I got an error when installing exthouse, saying that

ERROR: Failed to download Chromium r686378! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download. Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/exthouse/node_modules/puppeteer/.local-chromium'

There is a workaround for people who also got this error. Try:

sudo npm install --global exthouse --unsafe-perm=true --allow-root