Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR [nuxt] [request error] [unhandled] [500] Unexpected token ';' #2991

Closed
Amine-Smahi opened this issue Dec 28, 2024 · 0 comments
Closed
Labels
bug Something isn't working duplicate This issue or pull request already exists v3 #1289

Comments

@Amine-Smahi
Copy link

Amine-Smahi commented Dec 28, 2024

Environment

------------------------------
- Operating System: Darwin
- Node Version:     v22.11.0
- Nuxt Version:     3.15.0
- CLI Version:      3.17.2
- Nitro Version:    2.10.4
- Package Manager:  npm@10.9.0
- Builder:          -
- User Config:      default
- Runtime Modules:  @nuxt/content@2.13.4, @nuxt/eslint@0.7.4, @nuxt/fonts@0.10.3, @nuxt/image@1.8.1, @nuxt/ui@2.20.0, @nuxthq/studio@2.2.1, @vueuse/nuxt@12.2.0, nuxt-og-image@4.0.2
- Build Modules:    -
------------------------------

Is this bug related to Nuxt or Vue?

Nuxt

Version

3.15.0

Description

Hi, what did i do wrong ?

user ~/d/nuxt> npx nuxi init -t github:nuxt-ui-pro/saas my-saas


✔ Which package manager would you like to use?
npm
◐ Installing dependencies...                                        2:59:28 PM
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

> postinstall
> nuxt prepare

ℹ Using default Tailwind CSS file                 nuxt:tailwindcss 3:00:48 PM
ℹ Nuxt Icon server bundle mode is set to local                     3:00:49 PM
[3:00:50 PM] ✔ Nuxt Icon discovered local-installed 3 collections: heroicons, simple-icons, vscode-icons
ℹ Running with compatibility version 4                             3:00:50 PM
✔ Types generated in .nuxt                                         3:00:50 PM

added 1277 packages, and audited 1279 packages in 1m

347 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
✔ Installation completed.                                          3:00:50 PM

✔ Initialize git repository?
Yes
ℹ Initializing git repository...                                   3:26:30 PM

Initialized empty Git repository in /Users/amine-smahi/dev/nuxt/my-saas/.git/
                                                                    3:26:30 PM
✨ Nuxt project has been created with the nuxt-ui-pro-saas template. Next steps:
 › cd my-saas                                                       3:26:30 PM
 › Start development server with npm run dev                        3:26:30 PM
user ~/d/nuxt> cd my-saas/
user ~/d/n/my-saas (main)> npm run dev

> dev
> nuxt dev

Nuxt 3.15.0 with Nitro 2.10.4                                       3:26:37 PM
                                                                    3:26:37 PM
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose


 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮
 │                                                                                                      │
 │  Nuxt UI Pro                                                                                         │
 │                                                                                                      │
 │  Missing NUXT_UI_PRO_LICENSE env variable, please add it to your .env.                               │
 │                                                                                                      │
 │  Purchase Nuxt UI Pro at https://ui.nuxt.com/pro/pricing to build your app in production.            │
 │                                                                                                      │
 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯

ℹ Using default Tailwind CSS file                 nuxt:tailwindcss 3:26:38 PM
  ➜ DevTools: press Shift + Option + D in the browser (v1.7.0)      3:26:39 PM

ℹ Nuxt Icon server bundle mode is set to local                     3:26:40 PM
[3:26:41 PM] ✔ Nuxt Icon discovered local-installed 3 collections: heroicons, simple-icons, vscode-icons
ℹ Running with compatibility version 4                             3:26:41 PM
[nuxt:tailwindcss 3:26:41 PM] ℹ Tailwind Viewer: http://localhost:3000/_tailwind/
✔ Vite client built in 19ms                                        3:26:42 PM
✔ Vite server built in 94ms                                        3:26:42 PM
✔ Nuxt Nitro server built in 1353 ms                         nitro 3:26:44 PM
ℹ Vite client warmed up in 372ms                                   3:26:45 PM
ℹ Vite server warmed up in 3607ms                                  3:26:48 PM

 ERROR  [nuxt] [request error] [unhandled] [500] Unexpected token ';'



 ERROR  [nuxt] [request error] [unhandled] [500] Unexpected token ';'

Additional context

No response

Logs

@Amine-Smahi Amine-Smahi added bug Something isn't working triage v3 #1289 labels Dec 28, 2024
@benjamincanac benjamincanac added duplicate This issue or pull request already exists and removed triage labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists v3 #1289
Projects
None yet
Development

No branches or pull requests

2 participants