syifarahmat / baileys.api.server

Easy Baileys Management
26 stars 6 forks source link

Error MODULE_NOT_FOUND #2

Open manojsitapara opened 2 years ago

manojsitapara commented 2 years ago

Thank you for making easy API !!

When I tried to run script, I was getting following error

node dist/production/index.js

Debugger attached. Waiting for the debugger to disconnect... node:internal/modules/cjs/loader:936 throw err; ^

Error: Cannot find module 'C:\Users\shdg\Downloads\baileys.api.server-main\baileys.api.server-main\dist\production\index.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Waiting for the debugger to disconnect...

syifarahmat commented 2 years ago

try with yarn start:nodemon