nitro
nitro copied to clipboard
"../.." is being resolved to "../test.ts"
Environment
nitro ^2.10.4 and node 23.6.0
Reproduction
https://github.com/huseeiin/nitro-bug
Describe the bug
ERROR RollupError: routes/trpc/[...trpc].ts (2:0): "app" is not exported by "../test.ts", imported by "routes/trpc/[...trpc].ts".
Additional context
i fixed it by changing the import to "../../index"
Logs
I tested your reproduction—both nitro build and nitro dev worked without errors.
Could you describe how to reproduce the issue? 🙏
I tested your reproduction—both
nitro buildandnitro devworked without errors. Could you describe how to reproduce the issue? 🙏
it might've been anomaly, idk