Open devnomic opened 3 months ago
node_modules/@trigger.dev/core-backend/dist/index.mjs (2:9): "env" is not exported by "node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js", imported by "node_modules/@trigger.dev/core-backend/dist/index.mjs"
nodePolyfills({ include: ["buffer", "process"], globals: { Buffer: true, process: true, }, }),
Code that trigger errors:
import { Buffer } from 'node:buffer'; import { env } from 'node:process'; <-- here
Code that trigger errors: