Open arktnld opened 7 months ago
Hi,
So when I try forever start server.js
, I receive this error:
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1163) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(node:1163) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency```
The error is gone but session is not getting connected
Hi,
So when I try
forever start server.js
, I receive this error:(Use `node --trace-warnings ...` to show where the warning was created) (node:1163) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (node:1163) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency```
This is just a warning. Type forever list
to list yours running servers, forever logs 0
to show the logs of the first server.
Please use the latest docker version 🙏
Hello everyone,
I was having trouble running the server, but I managed to find a solution. Here's a step-by-step guide to help others who might be facing the same issue, this was tested on Ubuntu 22.
Change whatsapp-web.js Version in package.json:
package.json
file from:to:
package-lock.json
file from the project.Install Node.js 20.x LTS:
Install Forever and Start the Server:
.env
file to store environment variables necessary for server configuration.forever
package globally:forever
to ensure it continues running even after the terminal is closed: