stegripe/bajigur

[Bug Report] TypeError: Class extends value undefined is not a constructor or null

NikitoDev opened this issue · 0 comments

I need help with this error please.
I typed in order the commands, but it doesn't work

PS C:\Users\User\Desktop\Bot> npm start
npm WARN config global --global, --local are deprecated. Use `--location=glo

whatsapp-bot@1.0.0 start
node --es-module-specifier-resolution=node -r dotenv/config .

(node:5068) ExperimentalWarning: The Node.js specifier resolution flag is experi
(Use node --trace-warnings ... to show where the warning was created)
C:\Users\User\Desktop\Bot\node_modules@open-wa\wa-automate-socket-cli
class Collection extends collection_1.default {
^

TypeError: Class extends value undefined is not a constructor or null
at Object. (C:\Users\User\Desktop\Bot\node_modules@ope
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:\Users\User\Desktop\Bot\node_modules@ope
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)