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
After making contributions to this repository and adding my changes last week, I encountered an error in the development branch when pulling the latest changes. However, when I switched to the main branch, the error disappeared.
> @nuxt/ui@2.13.0 dev /Users/mahdi.arjangi/Desktop/projects/ui
> nuxi dev docs
Nuxt 3.10.1 with Nitro 2.8.1 1:16:27 PM
ERROR Cannot use 'import.meta' outside a module 1:16:27 PM
const _require = _nodemodule.createRequire.call(void 0, import.meta.url)
^^^^
SyntaxError: Cannot use 'import.meta' outside a module
at new Script (node:vm:99:7)
at createScript (node:vm:255:10)
at Object.runInThisContext (node:vm:303:10)
at evalModule (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:256254)
at jiti (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:254371)
at src/module.ts:7:40
at evalModule (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:256443)
at jiti (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:254371)
at docs/nuxt.config.ts:3:39
at evalModule (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:256443)
at Object.jiti (node_modules/.pnpm/jiti@1.21.0/node_modules/jiti/dist/jiti.js:1:254371)
at resolveConfig (node_modules/.pnpm/c12@1.6.1/node_modules/c12/dist/index.mjs:308:24)
at loadConfig (node_modules/.pnpm/c12@1.6.1/node_modules/c12/dist/index.mjs:117:40)
at async loadNuxtConfig (node_modules/.pnpm/@nuxt+kit@3.10.1_rollup@3.29.4/node_modules/@nuxt/kit/dist/index.mjs:2516:18)
at async Object.run (node_modules/.pnpm/nuxi@3.10.0/node_modules/nuxi/dist/chunks/dev.mjs:172:25)
at async runCommand$1 (node_modules/.pnpm/nuxi@3.10.0/node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1648:16)
at async runCommand$1 (node_modules/.pnpm/nuxi@3.10.0/node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1639:11)
at async runMain$1 (node_modules/.pnpm/nuxi@3.10.0/node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1773:7)
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Node version: 20.11.0
Nuxt version: 3.10.1
Package manager : pnpm - 8.15.3
Version
3.8.2
Reproduction
None
Description
After making contributions to this repository and adding my changes last week, I encountered an error in the development branch when pulling the latest changes. However, when I switched to the main branch, the error disappeared.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: