Hosting in Docker with Nitro problems
I try to follow Hosting article. I want to host it in Docker, so i choose Nitro V3.
However, in the docs there's import
import { nitro } from 'nitro/vite' which should be import { nitro } from 'nitro-nightly/vite' to be aligned with suggested package.
Moreover, after including nitro in vite.config.js I get error:
Hosting | TanStack Start React Docs
Hosting is the process of deploying your application to the internet so that users can access it. This is a critical part of any web development project, ensuring your application is available to the...
9 Replies
multiple-amethystOP•2mo ago
Just tried using Nitro V2, and it works
genetic-orange•2mo ago
Hosting | TanStack Start React Docs
Hosting is the process of deploying your application to the internet so that users can access it. This is a critical part of any web development project, ensuring your application is available to the...
genetic-orange•2mo ago

multiple-amethystOP•2mo ago
hm copying this into package.json changed the error to
genetic-orange•2mo ago
that's a different issue I guess. remove the DevTools and try again
multiple-amethystOP•2mo ago
which devtools? @tanstack/react-router-devtools or @tanstack/react-devtools ?
well, i removed both, and it worked
so i guess it could be only dev dependency
both could be dev dependencies
yeah, moving them to be dev dependencies also worked
so devtools conflict somehow with Nitro and the only solution is to remove devtools out of Nitro way?
genetic-orange•2mo ago
at the moment, it seems like that
which dev tools are causing this?
multiple-amethystOP•2mo ago
this is really werid... now i moved back both dev tools deps into dependencies and error does not show again
could i ask how did you come to that conclusion?
genetic-orange•2mo ago
Devtools are implemented in solid regardless of whether you use react or solid