Node compat for `matchesGlob` from `node:path`?
Hi there š
I'm new here but have been a deno fan from the get-go and have several project running on deno deploy v1 and v2 - love it!
I'm using deno 2.5.2 locallyRight now I'm attempting to deploy a tanstack-start app using the Nitro adapter (nightly v3 version) - https://nitro.build/deploy/providers/deno-deploy - https://tanstack.com/start/latest/docs/framework/react/hosting But using that I cant even build and this is the error I get: I've simplified the issue to this code, and I dont really understand why this should not work? terminal output: What am I doing wrong here? Help very much appreciated! ššš
Deno Deploy - Nitro
Deploy Nitro apps to Deno Deploy.
Hosting | TanStack Start React Docs
Hosting is the process of deploying your application to the internet so that users can access it. This is a critical part of any web development project, ensuring your application is available to the...
1 Reply
I rewrote and expanded your test case a bit so it works in Node (24+) and should work Deno (fails of course as shown above):
Node output:
Deno stays the same:
I'd recommend to open an issue for this.
Interesting, there is -> https://docs.deno.com/api/node/path/~/path.PlatformPath.matchesGlob
But that seems only to exist as a type?