You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Router should work in Deno environments without requiring a package.json file.
Since Deno does not use package.json for dependency resolution, the code path that tries to load or reference package.json should be skipped when running under Deno (or replaced by a Deno-friendly entry point).
Actual Behavior
Any calls to the react-router binary fail if no package.json is found.
Users are forced to add an inert package.json with a comment field merely to satisfy @react-router/dev's import logic, which doesn’t make sense for Deno.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'm using React Router as a…
framework
Reproduction
Delete the
package.json
file from this template and rundeno task dev
: https://github.com/remix-run/react-router-templates/tree/main/denoSystem Info
Used Package Manager
npm
Expected Behavior
Actual Behavior
react-router
binary fail if nopackage.json
is found.package.json
with a comment field merely to satisfy@react-router/dev
's import logic, which doesn’t make sense for Deno.The text was updated successfully, but these errors were encountered: