pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.46k stars 3.68k forks source link

version 1.12.4 .- puppeter 5.5.0 not install #540

Closed Softman65 closed 3 years ago

Softman65 commented 3 years ago

system: windows10

d:\WhatsAppBot>npm install whatsapp-web.js --save

puppeteer@5.5.0 install d:\WhatsAppBot\node_modules\puppeteer node install.js

Downloading Chromium r818858 - 154.2 Mb [====================] 100% 0.0s ERROR: Failed to set up Chromium r818858! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. TypeError: Cannot read property 'mkdir' of undefined at Object.module.exports [as default] (d:\WhatsAppBot\node_modules\extract-zip\index.js:170:12) at install (d:\WhatsAppBot\node_modules\puppeteer\lib\cjs\puppeteer\node\BrowserFetcher.js:384:37) at BrowserFetcher.download (d:\WhatsAppBot\node_modules\puppeteer\lib\cjs\puppeteer\node\BrowserFetcher.js:240:19) npm WARN Error: EPERM: operation not permitted, rmdir 'd:\WhatsAppBot\node_modules\@types' npm WARN { Error: EPERM: operation not permitted, rmdir 'd:\WhatsAppBot\node_modules\@types' npm WARN stack: 'Error: EPERM: operation not permitted, rmdir \'d:\WhatsAppBot\node_modules\@types\'', npm WARN errno: -4048, npm WARN code: 'EPERM', npm WARN syscall: 'rmdir', npm WARN path: 'd:\WhatsAppBot\node_modules\@types' } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! puppeteer@5.5.0 install: node install.js npm ERR! Exit status 1

bijancot commented 3 years ago

I Think it's not related to whatsapp-web.js, it's look like you have problem with your environment check this

and also check user that used to install is permitted to do the installation, Cheers

Softman65 commented 3 years ago

Thanks for your response, its true, in other machine NOT sucess the bug.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.