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
mac
node v22.15.1
npm 11.4.0
"@nuxtjs/i18n": "^9.5.4",
"nuxt": "^3.17.3",
ERROR Cannot start nuxt: program.body is not iterable nuxi 5:21:34 PM
at scanProgram (node_modules/@nuxtjs/i18n/dist/module.mjs:208:30)
at getLocaleType (node_modules/@nuxtjs/i18n/dist/module.mjs:202:20)
at resolveLocales (node_modules/@nuxtjs/i18n/dist/module.mjs:181:20)
at resolveLocaleInfo (node_modules/@nuxtjs/i18n/dist/module.mjs:1543:22)
at node_modules/@nuxtjs/i18n/dist/module.mjs:2073:13
at async initNuxt (node_modules/nuxt/dist/shared/nuxt.Cz1y6gQJ.mjs:5841:3)
at async NuxtDevServer._load (node_modules/@nuxt/cli/dist/chunks/dev2.mjs:183:5)
at async NuxtDevServer.load (node_modules/@nuxt/cli/dist/chunks/dev2.mjs:111:7)
at async NuxtDevServer.init (node_modules/@nuxt/cli/dist/chunks/dev2.mjs:106:5)
at async Object.run (node_modules/@nuxt/cli/dist/chunks/dev-child.mjs:94:5)
node_modules/@nuxtjs/i18n/dist/module.mjs
in scanProgram
at line 208:30
return analyzed === "object" ? "static" : analyzed === "function" ? "dynamic" : "unknown";
}
function scanProgram(program) {
let varDeclarationName;
const varDeclarations = [];
for (const node of program.body) {
switch (node.type) {
case "VariableDeclaration":
for (const decl of node.declarations) {
if (decl.type !== "VariableDeclarator" || decl.init == null)
continue;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
mac
node v22.15.1
npm 11.4.0
"@nuxtjs/i18n": "^9.5.4",
"nuxt": "^3.17.3",
ERROR Cannot start nuxt: program.body is not iterable nuxi 5:21:34 PM
node_modules/@nuxtjs/i18n/dist/module.mjs
in scanProgram
at line 208:30
return analyzed === "object" ? "static" : analyzed === "function" ? "dynamic" : "unknown";
}
function scanProgram(program) {
let varDeclarationName;
const varDeclarations = [];
for (const node of program.body) {
switch (node.type) {
case "VariableDeclaration":
for (const decl of node.declarations) {
if (decl.type !== "VariableDeclarator" || decl.init == null)
continue;
Beta Was this translation helpful? Give feedback.
All reactions