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
In my project, @tanstack/start/config doesn’t exist, and there’s no app.config.ts. Looks like current Start doesn’t expose that config path. So Idk how do we override nitro configs.
Error once i've tried to build file under .output folder:
$ bun build .output/server/index.mjs --compile
1 | import { crossSerializeStream, getCrossReferenceHeader } from "seroval";
^
error: Could not resolve: "seroval". Maybe you need to "bun install"?
at /Users/kerematam/Workspace/tea4chat/start-basic/.output/server/node_modules/@tanstack/router-core/dist/esm/ssr/ssr-server.js:1:63
2 | import { ReadableStreamPlugin } from "seroval-plugins/web";
^
error: Could not resolve: "seroval-plugins/web". Maybe you need to "bun install"?
at /Users/kerematam/Workspace/tea4chat/start-basic/.output/server/node_modules/@tanstack/router-core/dist/esm/ssr/ssr-server.js:2:38
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bun provides "--compile" flag for generating a standalone binary from a TS/JS file.
I am working on
basic-start
example.To build bun; i came across and tried the approach described in this blog post:
https://www.josephlozano.dev/blog/single-binary-bun
However, it didn’t work for me, and I suspect the method is now outdated. The post suggests
app.config.ts
:In my project, @tanstack/start/config doesn’t exist, and there’s no
app.config.ts
. Looks like current Start doesn’t expose that config path. So Idk how do we override nitro configs.My
vite.config.ts
:Error once i've tried to build file under
.output
folder:Beta Was this translation helpful? Give feedback.
All reactions