bun --env-file=.env.development run vite │ [25 lines elided] │ at Object.<anonymous>…
- User
bun --env-file=.env.development run vite │ [25 lines elided] │ at Object. (/data/1mi/v3/front/node_modules/rollup/dist/native.js:72:76) │ at Module._compile (node:internal/modules/cjs/loader:1546:14) │ at Module._extensions..js (node:internal/modules/cjs/loader:1691:10) { │ code: 'MODULE_NOT_FOUND', │ requireStack: [ '/data/1mi/v3/front/node_modules/rollup/dist/native.js' ] │ } │ } │ │ Node.js v22.7.0 │ error: "vite" exited with code 1 └─ Exited with code 1
what is this error? how to fix?
- Assistant
The error you're encountering suggests that there is a
MODULE_NOT_FOUNDissue, which typically indicates that a required module couldn't be found by Node.js when attempting to run your Vite application using Bun as your JavaScript runtime. Here are some steps you can take to troubleshoot and resolve this issue: