Open developerdevice opened 4 years ago
Same here
You can create a new project,
npm init
Later you can use
npm i sulla
Then you can run your own project and works correctly.
Remember post in your project:
const sulla = require('sulla');
sulla.create().then((client) => start(client));
function start(client) { client.onMessage((message) => { if (message.body === 'Hi') { client.sendText(message.from, '👋 Hello from sulla!'); } }); }
the repository is deprecated use
Install npm i @s2click/venom https://github.com/s2click/venom
I followed all steps but while i run
node index.js
it's generate the QR Code, authenticate, inject API and stops there.If i run
npm run start
it returnsI've tried to install manually tsc but still not working.