Nothing Special   »   [go: up one dir, main page]

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

inital dev server (runtime) errors cause 404 and 500 error #145

Open
pi0 opened this issue Sep 6, 2023 · 1 comment
Open

inital dev server (runtime) errors cause 404 and 500 error #145

pi0 opened this issue Sep 6, 2023 · 1 comment
Labels
bug Something isn't working nuxt issue upstream

Comments

@pi0
Copy link
Member
pi0 commented Sep 6, 2023

(might be a Nuxt core or Nitro issue starting investigation from CLI)

Reproduction:

server/plugins/test.ts:

const foo = bar
export default () => {}

nuxt dev:

console:

 ERROR  [worker reload] [worker init] bar is not defined                                                                                            10:18:13 AM

  at <anonymous> (playground/server/plugins/test.ts:1:13)
  at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

HTTP:

{
  "statusCode": 404,
  "statusMessage": "Cannot find any path matching /.",
  "stack": [
    
  ]
}
@pi0
Copy link
Member Author
pi0 commented Sep 7, 2023

Nitro upstream fix: nitrojs/nitro#1701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nuxt issue upstream
Projects
None yet
Development

No branches or pull requests

1 participant