arugaz / whatsapp-bot

Whatsapp Bot Multi Device - Node Js - Internationalization
GNU General Public License v3.0
629 stars 813 forks source link

[BUG] Error #497

Closed Mozito14 closed 10 months ago

Mozito14 commented 11 months ago

Description

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>cd whatsapp-bot

C:\Users\Administrator\whatsapp-bot>npm install

up to date, audited 535 packages in 5s

135 packages are looking for funding
  run `npm fund` for details

11 moderate severity vulnerabilities

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

C:\Users\Administrator\whatsapp-bot>npm start

> whatsapp-bot@3.0.0 start
> node ./dist/main.js

node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module 'C:\Users\Administrator\whatsapp-bot\dist\main.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma
in:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.10.0

C:\Users\Administrator\whatsapp-bot>

Reproduction steps

1. Clone the repository & run the app
2. Closed & used saved credentials to log back in
3. Etc.

Screenshots

No response

Logs

No response

Whatsapp Version

latest

OS

Windows

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

DutaKey commented 11 months ago

didn't you run npm run build ?

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days