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
I cloned the starter-express repo and I changed the file extension of the files inside routes/ from .js to .tsx and "normal" routes seem to be working just fine but not the 404 one, the following error is thrown when visiting a route that doesn't exist (in this case the route is /dasdsad):
Error: Could not resolve entry module (app/routes/404.js).
[2] at error (/Users/gabe/code/learning/remix/my-remix-app/node_modules/rollup/dist/shared/rollup.js:5251:30)
[2] at ModuleLoader.loadEntryModule (/Users/gabe/code/learning/remix/my-remix-app/node_modules/rollup/dist/shared/rollup.js:18410:20)
[2] at async Promise.all (index 1) {
[2] code: 'UNRESOLVED_ENTRY',
[2] watchFiles: [
[2] '/Users/gabe/code/learning/remix/my-remix-app/app/entry-server.tsx'
[2] ]
[2] }
[2] GET /dasdsad 500 313.463 ms - -
The app's structure is the following:
The text was updated successfully, but these errors were encountered:
I cloned the
starter-express
repo and I changed the file extension of the files insideroutes/
from.js
to.tsx
and "normal" routes seem to be working just fine but not the 404 one, the following error is thrown when visiting a route that doesn't exist (in this case the route is/dasdsad
):The app's structure is the following:
The text was updated successfully, but these errors were encountered: