-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
TypeError when running Nitro project with deno run dev #26700
Comments
Same error for me when using nuxt |
marvinhagemeister
added a commit
that referenced
this issue
Nov 27, 2024
We didn't validate the `path` argument that's passed to `fs.stat()` and `fs.statSync()` which lead to wrong errors being thrown. The `@rollup/plugin-node-resolve` code calls it with `undefined` quite a lot which lead to `nitro` and `nuxt` failing. Fixes #26700 --------- Co-authored-by: Yoshiya Hinosawa <[email protected]>
bartlomieju
pushed a commit
that referenced
this issue
Nov 28, 2024
We didn't validate the `path` argument that's passed to `fs.stat()` and `fs.statSync()` which lead to wrong errors being thrown. The `@rollup/plugin-node-resolve` code calls it with `undefined` quite a lot which lead to `nitro` and `nuxt` failing. Fixes #26700 --------- Co-authored-by: Yoshiya Hinosawa <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
After creating a new project with
deno run -A npm:giget@latest nitro nitro-app --install
, running it withdeno run dev
results in a TypeError.Reproduction Steps
deno run -A npm:giget@latest nitro nitro-app --install
deno run dev
Expected Behavior
The project should start without errors.
Actual Behavior
The project fails to start throwing the following error:
Environment
Deno version: 2.1.1, 2.1.0, 2.0.6, 2.0.5, 2.0.4
Operating system: macOS 15.1
Architecture: Arm64 (M2)
The text was updated successfully, but these errors were encountered: