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
Hi, I'm trying to follow the developing section to add a live badge, but got the following error, which parts am I missed?
npm install
npm run dev
> dev
> next dev
node:internal/modules/cjs/loader:1149
const err = new Error(message);
^
Error: Cannot find module './public/.meta/badges.json'
Require stack:
- C:\Users\razon\Workspaces\badgen\badgen.net\next.config.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at C:\Users\razon\Workspaces\badgen\badgen.net\node_modules\next\dist\server\require-hook.js:54:36
at Module._load (node:internal/modules/cjs/loader:990:27)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at mod.require (C:\Users\razon\Workspaces\badgen\badgen.net\node_modules\next\dist\server\require-hook.js:64:28)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\Users\razon\Workspaces\badgen\badgen.net\next.config.js:5:19)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\razon\\Workspaces\\badgen\\badgen.net\\next.config.js'
]
}
Node.js v21.6.1
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to follow the developing section to add a live badge, but got the following error, which parts am I missed?
The text was updated successfully, but these errors were encountered: