hey all,
i tried installing bolt.diy in a new Debian 12 container in proxmox. prior to starting the install i created a new user called “bolt” and gave it permission to sudo. i also did apt-get update/upgrade/reboot.
Everything goes well until i try to run “pnpm run dev”, then i get this error. I tried deleting “node_modules” and the lock file, then doing “pnpm install” again. Does not fix the issue.
Any suggestions what I can do?
bolt@boltdiy:~/bolt.diy$ pnpm run dev
> bolt@1.0.0 dev /home/bolt/bolt.diy
> node pre-start.cjs && remix vite:dev
★═══════════════════════════════════════★
B O L T . D I Y
⚡️ Welcome ⚡️
★═══════════════════════════════════════★
📍 Current Version Tag: v"1.0.0"
📍 Current Commit Version: "bab9a64"
Please wait until the URL appears here
★═══════════════════════════════════════★
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
warn Data fetching is changing to a single fetch in React Router v7
┃ You can use the `v3_singleFetch` future flag to opt-in early.
┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch
┗
ReferenceError: File is not defined
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/lib/web/webidl/index.js:512:48)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/lib/web/fetch/util.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/lib/web/fetch/headers.js:11:5)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/lib/web/fetch/response.js:3:90)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/lib/web/fetch/index.js:12:5)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/bolt/bolt.diy/node_modules/.pnpm/undici@7.15.0/node_modules/undici/index.js:119:19)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at transformer (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
at Object.transformer [as .js] (file:///home/bolt/bolt.diy/node_modules/.pnpm/tsx@4.20.5/node_modules/tsx/dist/register-CFH5oNdT.mjs:3:587)
ELIFECYCLE Command failed with exit code 1.
