Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ethers' imported from C:\Users\ACER\Downloads\bot-pancakeswap-master2\bot.js
at new NodeError (node:internal/errors:371:5)
at packageResolve (node:internal/modules/esm/resolve:884:9)
at moduleResolve (node:internal/modules/esm/resolve:929:18)
at defaultResolve (node:internal/modules/esm/resolve:1044:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Dear dev,
I just tested your bot pancakeswap. But I have an error when start bot.
node:internal/errors:464 ErrorCaptureStackTrace(err); ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ethers' imported from C:\Users\ACER\Downloads\bot-pancakeswap-master2\bot.js at new NodeError (node:internal/errors:371:5) at packageResolve (node:internal/modules/esm/resolve:884:9) at moduleResolve (node:internal/modules/esm/resolve:929:18) at defaultResolve (node:internal/modules/esm/resolve:1044:11) at ESMLoader.resolve (node:internal/modules/esm/loader:422:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40) at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Can you help me fix it? Thank you!