You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
/home/runner/automod-bot/bot.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename (/home/runner/automod-bot/node_modules/module-alias/index.js:49:29)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/runner/automod-bot/src/utils/miscUtils.js:2:14)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/runner/automod-bot/src/structures/Command.js:4:24)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/automod-bot/src/utils/miscUtils.js',
'/home/runner/automod-bot/src/structures/Command.js',
'/home/runner/automod-bot/src/structures/BotClient.js',
'/home/runner/automod-bot/src/structures/index.js',
'/home/runner/automod-bot/bot.js'
]
}
[nodemon] app crashed - waiting for file changes before starting...
My nodejs version its 1.16 and i do npm install and .env
The text was updated successfully, but these errors were encountered:
npm run start
[nodemon] 2.0.15
[nodemon] to restart at any time, enter
rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting
node bot.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '/home/runner/automod-bot/src/data.json'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename (/home/runner/automod-bot/node_modules/module-alias/index.js:49:29)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/runner/automod-bot/src/utils/miscUtils.js:2:14)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/runner/automod-bot/src/structures/Command.js:4:24)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/automod-bot/src/utils/miscUtils.js',
'/home/runner/automod-bot/src/structures/Command.js',
'/home/runner/automod-bot/src/structures/BotClient.js',
'/home/runner/automod-bot/src/structures/index.js',
'/home/runner/automod-bot/bot.js'
]
}
[nodemon] app crashed - waiting for file changes before starting...
My nodejs version its 1.16 and i do npm install and .env
The text was updated successfully, but these errors were encountered: