Wa-automate-nodejs: LOADING QR

Created on 16 Jan 2020  路  12Comments  路  Source: open-wa/wa-automate-nodejs

@smashah You have now stopped loading QR CODE

Captura de Tela 2020-01-16 a虁s 6 10 32 PM

Most helpful comment

here it is working. ;P

All 12 comments

failed :(

here it is working. ;P

for min stopped loading QR CODE

Thanks @phantom-limb, works!

After applying the change of commit #da482da

qrCode image is not in base64 i guess and that is the reason not able to save to a .png file to export to a webpage. can you help. The following piece of code is giving error while converting the qrcode response to base64. qrcode is NULL

ev.on('qr.**', async (qrcode,sessionId) => { console.log("TCL: qrcode,sessioId", qrcode,sessionId) //base64 encoded qr code image const imageBuffer = Buffer.from(qrcode.replace('data:image/png;base64,',''), 'base64'); fs.writeFileSync(`qr_code${sessionId?'_'+sessionId:''}.png`, imageBuffer); });

image

Que estranho!

A rather strange business that my project runs on NodeJS so the installation of sulla is done through npm i sulla.

If I enter inside node_modules and select this commit the error displayed is Error: Cannot find module 'sulla'

Is there a trick to importing the commit correctly?

Fix is live

Please make sure you are using ^1.5.5.

@rafael-sarti sulla is the original project, this is sulla-hotfix. Use this to install.

npm i sulla-hotfix

Thanks all for bringing this up and wroking through it. MVP of the day is @phantom-limb !

Thank you Gents.

Thank you @phantom-limb works for me too!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

feliperaul picture feliperaul  路  5Comments

pedrogrisolia picture pedrogrisolia  路  4Comments

alishahlakhani picture alishahlakhani  路  4Comments

renato-macedo picture renato-macedo  路  6Comments

phantom-limb picture phantom-limb  路  5Comments