Kotkoroid
Kotkoroid7mo 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
bartlomieju7mo ago
Which version of Deno are you using?
Kotkoroid
KotkoroidOP7mo ago
2.0.4
bartlomieju
bartlomieju7mo 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
Kotkoroid
KotkoroidOP7mo ago
The problem persists even in canary. I will submit it on the GitHub. Thanks
bartlomieju
bartlomieju7mo ago
Thank you!

Did you find this page helpful?