Next.js Discord

Discord Forum

Bundows (Bun for Windows) and NextJS 14

Answered
Madeiran sardinella posted this in #help-forum
Open in Discord
Madeiran sardinellaOP
Hello, I've used bun for a whole lot of time just on a WSL installation and switched to bundows when it released. I decided to run bun update to keep up with the latest versions. However after I updated all packages when I run bun run dev to start my development server and I receive this:
Error evaluating Node.js code
Error: Failed to load external module C:\Users\Bobby\Projects\ow-ecom/./postcss.config.js: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
    at externalImport (/turbopack/[turbopack]/shared-node/base-externals-utils.ts:16:11) [C:\Users\Bobby\Projects\ow-ecom\.next\chunks\[output]__next_transform_ad1f0f.js:1345:15]
    [at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]
    at async (postcss.config.js_.loader.mjs:3:13) [C:\Users\Bobby\Projects\ow-ecom\.next\chunks\_0b8f1c._.js:11:13]
Answered by joulev
that looks like a 14.2.0 bug, downgrade from 14.2.0 to 14.1.x for now
View full answer

3 Replies