Closed ariagaluh02 closed 1 week ago
same problem here, i tried using the removed version but it didn't work.
My application using WhatsApp web Js not works
same error
I am using WhatsApp web Js i uploaded the delete 2.2412.54.html in a personal repo and used it in my app but I get an infinite update page
however, for anyone depending on 2.2412.54.html for a WhatsApp web JS bot there is a solution that worked for me
delete the current whatsapp-web.js you have from package.json and delete the node_module then install this
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
this version is from the WhatsApp web JS creator himself but on a different branch i don't know if it is stable or if there are features not included but for my use case it works fine and even without providing a webVersionCache for the bot client
this.client = new Client({
puppeteer: {
headless: true,
},
authStrategy: new LocalAuth({
clientId: this.id,
dataPath: this.sessionPath,
}),
})
working on my bot server
Recently I have been testing the application using WhatsApp web js.
But since version 2.2412.54 was removed, my app crashes after QR scan:
Initialize error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at __puppeteer_evaluation_script__:5:95
What has been done is to replace the version to the most recent version::
2.3000.1014550396-alpha.html
But it still doesn't work. Any update refer to whatsapp version?
try this one webVersion: '2.2413.51-beta', webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2413.51-beta.html', }, it work for me
Recently I have been testing the application using WhatsApp web js. But since version 2.2412.54 was removed, my app crashes after QR scan:
Initialize error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at __puppeteer_evaluation_script__:5:95
What has been done is to replace the version to the most recent version::
2.3000.1014550396-alpha.html
But it still doesn't work. Any update refer to whatsapp version?
try this one webVersion: '2.2413.51-beta', webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2413.51-beta.html', }, it work for me
Same here, currently I set my Client like this:
this.client = new Client({ authStrategy: new LocalAuth({ dataPath: 'session' }), webVersionCache: { remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2413.51-beta.html', type: 'remote' }, puppeteer: { headless: true, args: [ '--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage', '--single-process', '--no-zygote', '--no-first-run', '--no-default-browser-check', '--disable-extensions', '--disable-default-apps', '--disable-sync', '--disable-translate', '--disable-web-security', '--disable-features=site-per-process', '--disable-infobars', '--window-position=0,0', '--ignore-certificate-errors', '--ignore-certificate-errors-spki-list', '--disable-gpu', '--disable-webgl', '--disable-threaded-animation', '--disable-threaded-scrolling', '--disable-in-process-stack-traces', '--disable-histogram-customizer', '--disable-gl-extensions', '--disable-composited-antialiasing', '--disable-canvas-aa', '--disable-3d-apis', '--disable-accelerated-2d-canvas', '--disable-accelerated-jpeg-decoding', '--disable-accelerated-mjpeg-decode', '--disable-app-list-dismiss-on-blur', '--disable-accelerated-video-decode' ] } } );
I also updated the libraries to the latest version by:
npm cache clean --force
And then:
npm install puppeteer@22.12.1 --save-exact
npm install whatsapp-web.js@1.24.0 --save-exact
Now it's working, but I am concerned about the maintenance of my chatbot as the version.json of this project indicates that version 2.2413.51-beta expires on "2024-06-30T23:19:19.506Z".
there is some sort of expiration date to the 2.2412.54.html file
I am using WhatsApp web Js i uploaded the delete 2.2412.54.html in a personal repo and used it in my app but I get an infinite update page
however, for anyone depending on 2.2412.54.html for a WhatsApp web JS bot there is a solution that worked for me
delete the current whatsapp-web.js you have from package.json and delete the node_module then install this
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
this version is from the WhatsApp web JS creator himself but on a different branch i don't know if it is stable or if there are features not included but for my use case it works fine and even without providing a webVersionCache for the bot client
this.client = new Client({ puppeteer: { headless: true, }, authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), })
working on my bot server
It's working!
Like you said, what I do is change the whatsapp web js version in package.json from whatsapp-web.js": "1.23.1-alpha.5
to github:pedroslopez/whatsapp-web.js#webpack-exodus
Then I rebuild my Docker. Now after I scan my QR, the apps running well. Thank you!
Hi
29 Haz 2024 Cmt 07:08 tarihinde Aria Galuh @.***> şunu yazdı:
there is some sort of expiration date to the 2.2412.54.html file
I am using WhatsApp web Js i uploaded the delete 2.2412.54.html in a personal repo and used it in my app but I get an infinite update page
however, for anyone depending on 2.2412.54.html for a WhatsApp web JS bot there is a solution that worked for me
delete the current whatsapp-web.js you have from package.json and delete the node_module then install this
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
this version is from the WhatsApp web JS creator himself but on a different branch i don't know if it is stable or if there are features not included but for my use case it works fine and even without providing a webVersionCache for the bot client
this.client = new Client({ puppeteer: { headless: true, }, authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), })
It's working! Like you said, what I do is change the whatsapp web js version in package.json from whatsapp-web.js": "1.23.1-alpha.5 to github:pedroslopez/whatsapp-web.js#webpack-exodus
Then I rebuild my Docker. Now after I scan my QR, the apps running well. Thank you!
— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wa-version/issues/608#issuecomment-2197889153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGOEGG4RGECA5CVD4O55FJDZJYXLXAVCNFSM6AAAAABKB6VB3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHA4DSMJVGM . You are receiving this because you commented.Message ID: @.***>
29 Haz 2024 Cmt 13:16 tarihinde Şagiir @.***> şunu yazdı:
Hi
29 Haz 2024 Cmt 07:08 tarihinde Aria Galuh @.***> şunu yazdı:
there is some sort of expiration date to the 2.2412.54.html file
I am using WhatsApp web Js i uploaded the delete 2.2412.54.html in a personal repo and used it in my app but I get an infinite update page
however, for anyone depending on 2.2412.54.html for a WhatsApp web JS bot there is a solution that worked for me
delete the current whatsapp-web.js you have from package.json and delete the node_module then install this
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
this version is from the WhatsApp web JS creator himself but on a different branch i don't know if it is stable or if there are features not included but for my use case it works fine and even without providing a webVersionCache for the bot client
this.client = new Client({ puppeteer: { headless: true, }, authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), })
It's working! Like you said, what I do is change the whatsapp web js version in package.json from whatsapp-web.js": "1.23.1-alpha.5 to github:pedroslopez/whatsapp-web.js#webpack-exodus
Then I rebuild my Docker. Now after I scan my QR, the apps running well. Thank you!
— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wa-version/issues/608#issuecomment-2197889153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGOEGG4RGECA5CVD4O55FJDZJYXLXAVCNFSM6AAAAABKB6VB3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHA4DSMJVGM . You are receiving this because you commented.Message ID: @.***>
Steps to Reproduce the Bug or Issue
3.here is the new alpha files 4.and run the code and scan the qr.
29 Haz 2024 Cmt 13:19 tarihinde Şagiir @.***> şunu yazdı:
29 Haz 2024 Cmt 13:16 tarihinde Şagiir @.***> şunu yazdı:
Hi
29 Haz 2024 Cmt 07:08 tarihinde Aria Galuh @.***> şunu yazdı:
there is some sort of expiration date to the 2.2412.54.html file
I am using WhatsApp web Js i uploaded the delete 2.2412.54.html in a personal repo and used it in my app but I get an infinite update page
however, for anyone depending on 2.2412.54.html for a WhatsApp web JS bot there is a solution that worked for me
delete the current whatsapp-web.js you have from package.json and delete the node_module then install this
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
this version is from the WhatsApp web JS creator himself but on a different branch i don't know if it is stable or if there are features not included but for my use case it works fine and even without providing a webVersionCache for the bot client
this.client = new Client({ puppeteer: { headless: true, }, authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), })
It's working! Like you said, what I do is change the whatsapp web js version in package.json from whatsapp-web.js": "1.23.1-alpha.5 to github:pedroslopez/whatsapp-web.js#webpack-exodus
Then I rebuild my Docker. Now after I scan my QR, the apps running well. Thank you!
— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wa-version/issues/608#issuecomment-2197889153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGOEGG4RGECA5CVD4O55FJDZJYXLXAVCNFSM6AAAAABKB6VB3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHA4DSMJVGM . You are receiving this because you commented.Message ID: @.***>
ada semacam tanggal kedaluwarsa pada file 2.2412.54.html
Saya menggunakan WhatsApp web Js saya mengunggah delete 2.2412.54.html dalam repo pribadi dan menggunakannya di aplikasi saya tapi saya mendapatkan halaman pembaruan tanpa batas
namun, bagi siapa pun tergantung pada 2.2412.54.html untuk bot web WhatsApp JS ada solusi yang berhasil untuk saya
hapus whatsapp-web.js saat ini yang Anda miliki dari package.json dan hapus node_module lalu instal ini
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
versi ini berasal dari pembuat web WhatsApp JS sendiri tetapi pada cabang yang berbeda saya tidak tahu apakah itu stabil atau jika ada fitur yang tidak termasuk tetapi untuk kasus penggunaan saya itu bekerja dengan baik dan bahkan tanpa menyediakan webVersionCache untuk klien bot
this.client = new Client({ puppeteer: { headless: true, }, authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), })
bekerja di server bot saya
Makasih pak eko! ieu bener bener work euy jagoan si bapak eta
Recently I have been testing the application using WhatsApp web js.
But since version 2.2412.54 was removed, my app crashes after QR scan:
What has been done is to replace the version to the most recent version::
But it still doesn't work. Any update refer to whatsapp version?