-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugBug ReportBug Report
Description
🤔 Not Existing Bug?
- Yes, I'm sure that this is a bug!
👀 Current Behavior
When trying to run the bot locally with yarn dev
, the application immediately crashes. Nodemon
starts as expected, but Node.js
throws a MODULE_NOT_FOUND
error related to google-auth-library
.
Here is the error log:
yarn dev yarn run v1.22.22
warning ../package.json: No license field
$ nodemon src/bot.js
[nodemon] 3.1.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node src/bot.js`
node:internal/modules/cjs/loader:1413
throw err;
^
Error: Cannot find module 'google-auth-library'
Require stack:
- /data/data/com.termux/files/home/forum-support-discord-bot/src/bot.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1410:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1051:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1056:22)
at Module._load (node:internal/modules/cjs/loader:1219:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
at Module.require (node:internal/modules/cjs/loader:1493:12)
at require (node:internal/modules/helpers:152:16)
at Object.<anonymous> (/data/data/com.termux/files/home/forum-support-discord-bot/src/bot.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1738:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/data/data/com.termux/files/home/forum-support-discord-bot/src/bot.js'
]
}
Node.js v24.6.0
[nodemon] app crashed - waiting for file changes before starting...
Environment:
-
Node.js version:
v24.6.0
-
Package manager:
yarn v1.22.22
-
OS: Android (Termux)
🎯 Expected Behavior
The bot should start without crashing after running yarn dev
.
📋 Steps To Reproduce
- Fetch & Merge the new commits from upstream
- Start the bot via
yarn dev
.
📜 Code of Conduct
- I agree to follow this project's Code of Conduct.
Metadata
Metadata
Assignees
Labels
bugBug ReportBug Report