-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Failed to resolve remix:manifest on fresh create-remix app #10515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
oh, so it's not my project...
|
I'm also facing this issue.
|
Same here, same problem when running del dev
` ➤ node --version |
Me too |
Same issue here:
|
Ran into this issue too and found this workaround (might not the best) for this warning by creating a custom plugin to intercept the Example import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
declare module "@remix-run/node" {
interface Future {
v3_singleFetch: true;
}
}
export default defineConfig({
plugins: [
remix({
future: {
v3_fetcherPersist: true,
v3_relativeSplatPath: true,
v3_throwAbortReason: true,
v3_singleFetch: true,
v3_lazyRouteDiscovery: true,
},
}),
// Custom plugin resolves warning - Failed to resolve "remix:manifest" from /Users/... An id should be written. Did you pass a URL?
{
name: "remix-manifest-resolver",
resolveId(id) {
if (id === "remix:manifest") {
return id;
}
},
// Optional: warning is suppressed without this hook
// Provides an empty object for 'remix:manifest' if HMR triggers, but HMR remains non-functional
load(id) {
if (id === "remix:manifest") {
return "export default {}";
}
}
},
tsconfigPaths(),
],
}); Resources |
I thought I had installed a package incorrectly, I'm happy to know it's not just me, but I'm sad because I don't know how to solve it.
|
There is another workaround, I tried to downgrade version of |
I have the same issue |
same issue |
As OP states, if you have Vite 6.x installed our case was fixed by reverting to Vite 5.x |
FWIW this was the very first thing I encountered the very first time I ever tried Remix (yesterday!). Alas. |
FYI if you are starting out you should be using React Route 7 in Framework mode, all new development is happening there. |
Like the original bug reporter, I also encountered this with a simple Update: ah, I see, I should have done |
same issue |
Me too |
Is there any solution? |
https://discord.com/channels/770287896669978684/1349423586758361221/1350502129285988465 someone just dropped this. he changes the version of the VITE to v5 instead |
The new https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2161 |
Remix is supposed to support Vite 6 now, but when I upgrade I get the same error as [a lot of people](remix-run/remix#10515). It seems that Remix is [being replaced by React Router v7](https://remix.run/blog/react-router-v7) in Framework mode so I'm not sure when the linked issue will be resolved.
Reproduction
Steps to reproduce:
npx create-remix@latest
.npm run dev
in the newly created project (i.e., without modifying any files).This can also be reproduced by simply navigating to https://remix.new and observing the terminal panel.
Downgrading to
vite@5
makes this warning go away.System Info
Used Package Manager
npm
Expected Behavior
Creating a new project, running it, and opening it in a browser should have no warnings (i.e., on vite 6).
Actual Behavior
Creating a new project, running it, and opening it in a browser has a warning.
The text was updated successfully, but these errors were encountered: