Closed karissekjw closed 1 year ago
@karissekjw usually this is caused by one of the remix deps still being on a prior version. Are you devDependencies also up to date?
If that's the case, try npm list |grep remix
to see if another non listed @remix-run dependency is outdated
Also, I would advise, although not mandatory, to do an incremental update for remix, starting with 1.8.0.
This would allow you to go through all the changelogs (starting here) and update your application to leverage the new features.
Of course, no need to bump through the bug fixing releases, so basically your upgrade path would be:
Hey @machour thanks for the swift response. You're right, seems like I've missed out @remix-run/dev
. Updated it accordingly and it works now. Thanks, appreciate the advice you've mentioned above 🙏 .
Closing this issue since it's not a bug.
What version of Remix are you using?
1.12.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Context
v1.7.6
tov1.12.0
What I did
package.json
to remixv1.12.0
npm install
npm run build
npm run dev
http://localhost:3000/
and the below error shows up.It seems like
function createStaticHandlerDataRoutes(manifest, future, parentId) {}
method in@remix/server-runtime/dist/routes.js
is receivingnil
forfuture
which caused the issue that I'm experiencing.Expected Behavior
I've tried to create blue stacks project from a clean slate and
createStaticHandlerDataRoutes
seems to receive the followingfuture
value which allows the app to load correctly:Actual Behavior
The error should not occur and the app should be able to run as per normal.