ezekills
TTCTheo's Typesafe Cult
•Created by ezekills on 6/15/2023 in #questions
Package create-t3-app with vercel/pkg
Hi everyone,
I tried to package my create-t3-app with vercel/pkg.
However I cant get it to work correctly.
There is an open issue with vercel/pkg when using .mjs files. therefore i changed the next.confg.mjs and env.mjs to .js files. so far so good. However when starting the executable I get the follwoing error.
I use the standalone option of next.js:
Settings relevant for pkg
For context I want to run the packaged next.js executable as a sidecar in tauri.
2 replies