Keep getting this error when trying to run the npx mudslide@latest -V command. Have tried this with the latest node version as well as version 16 LTS but get the same error on both. Any help would be appreciated.
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module './writer'
Require stack:
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/minimal.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/WAProto/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Defaults/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Socket/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/whatsapp.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js:13:25)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/minimal.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/WAProto/index.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Defaults/index.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Socket/index.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/index.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/whatsapp.js',
'/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/index.js'
]
}
Keep getting this error when trying to run the
npx mudslide@latest -V
command. Have tried this with the latest node version as well as version 16 LTS but get the same error on both. Any help would be appreciated.