Property 'future' is missing in type 'typeof import("./node_modules/@remix-run/dev/server-build")'
See original GitHub issueWhat version of Remix are you using?
1.8.0
Steps to Reproduce
remix.config.js
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
devServerBroadcastDelay: 1000,
ignoredRouteFiles: ['**/.*'],
server: './server/index.ts',
};
server/index.ts
import express from 'express';
import { createRequestHandler } from '@remix-run/express';
import * as build from '@remix-run/dev/server-build';
const app = express();
app.use('/build', express.static('public/build', { immutable: true, maxAge: '1y' }));
app.use(express.static('public', { maxAge: '1h' }));
app.all(
'*',
createRequestHandler({
build,
mode: process.env.NODE_ENV,
})
);
app.listen(3000);
Expected Behavior
The changes to @remix-run/server-runtime
from 1.7.6
(the version I was using) to 1.8.0
are listed as patch and minor changes, so I expected my existing code to be compatible.
Actual Behavior

Note
I tried adding future: {}
to remix.config.js
as per the discussion in https://github.com/remix-run/remix/issues/4759, but this does not resolve the issue.
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Property 'default' is missing in type 'typeof import("...")' but ...
For anyone in the future that got in here. At the point that I'm typing, for React.lazy() to work you SHOULD follow ONE...
Read more >roperty 'install' is missing in type 'typeof import · Issue #4736
dist/types/index.d.ts did not declare install ** This error appears when calling Vue.use(Quasar) with typescript Property 'install' is ...
Read more >React.js: Property is missing in type but required in type
The React.js error "Property is missing in type but required in type" occurs when we don't pass all of the required props to...
Read more >Property 'render' is missing in type '{ loader: () => Promise
You can see that my code below is very simple, but I was getting an error, for some reason: import * as React...
Read more >Type 'typeof IdleState' is missing the following properties.
I want to initialize instance of class inside AddState function. Upvote
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Confirmed that this is fixed in 1.8.1-pre.0. Patch coming soon 👍
@MichaelDeBoey #4759 is about Vercel. Kept both open to gather the maximum feedback for the team.