w7a9q
w7a9q3w ago

Cannot run Nitro project

I have created a new Nitro project using deno run -A npm:giget@latest nitro nitro-app --install. It was successfull but after trying deno run dev I get an error saying:
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'pathname')
at getPathname (ext:deno_node/_fs/_fs_stat.ts:177:49)
at ext:deno_node/_fs/_fs_stat.ts:151:13
at eventLoopTick (ext:core/01_core.js:175:7)
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'pathname')
at getPathname (ext:deno_node/_fs/_fs_stat.ts:177:49)
at ext:deno_node/_fs/_fs_stat.ts:151:13
at eventLoopTick (ext:core/01_core.js:175:7)
Is there any fix for that or is it a bug in Deno itself?
5 Replies
bartlomieju
bartlomieju3w ago
Which version of Deno are you using?
w7a9q
w7a9qOP3w ago
2.0.4
bartlomieju
bartlomieju3w ago
Does the problem persist if you run with canary (deno upgrade canary)? We fixed a couple issues related to stat in the past few days If not, I'd appreciate an issue on GH, we'll look into it promptly
w7a9q
w7a9qOP3w ago
The problem persists even in canary. I will submit it on the GitHub. Thanks
bartlomieju
bartlomieju3w ago
Thank you!