Closed YWzzy closed 2 months ago
Hey, it seems I have been able to fix that bug by renaming the postcss.config.js file to postcss.config.cjs if you want to try!
Moved to a different design which has the new postcss file: https://github.com/leerob/leerob.io/pull/727
I used bun to install and run. I set local environment variables,ut when I run locolhost: 3000, I get an error.
log: PS E:\React\leerob.io> bun dev $ next dev --turbo ▲ Next.js 14.2.0-canary.40 (turbo)
Experiments (use with caution): · ppr
✓ Ready in 5.1s ○ Compiling / ... ✓ Compiled / in 7.1s ⨯ ModuleBuildError: ./node_modules/geist/dist/geistmono_8e2790ea.module.css Error evaluating Node.js code Error: Failed to load external module E:\React\leerob.io/./postcss.config.js: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:' at externalImport (/turbopack/[turbopack]/shared-node/base-externals-utils.ts:16:11) [E:\React\leerob.io.next\chunks[output]__next_transform_ad1f0f.js:1336:15] [at process.processTicksAndRejections (node:internal/process/taskqueues:95:5)] at async (postcss.config.js.loader.mjs:3:13) [E:\React\leerob.io.next\chunks_0b8f1c._.js:11:13]
./node_modules/geist/dist/geistsans_81192321.module.css Error evaluating Node.js code Error: Failed to load external module E:\React\leerob.io/./postcss.config.js: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:' at externalImport (/turbopack/[turbopack]/shared-node/base-externals-utils.ts:16:11) [E:\React\leerob.io.next\chunks[output]__next_transform_ad1f0f.js:1336:15] [at process.processTicksAndRejections (node:internal/process/taskqueues:95:5)] at async (postcss.config.js.loader.mjs:3:13) [E:\React\leerob.io.next\chunks_0b8f1c._.js:11:13]
./app/global.css Error evaluating Node.js code Error: Failed to load external module E:\React\leerob.io/./postcss.config.js: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:' at externalImport (/turbopack/[turbopack]/shared-node/base-externals-utils.ts:16:11) [E:\React\leerob.io.next\chunks[output]__next_transform_ad1f0f.js:1336:15] [at process.processTicksAndRejections (node:internal/process/taskqueues:95:5)] at async (postcss.config.js.loader.mjs:3:13) [E:\React\leerob.io.next\chunks_0b8f1c._.js:11:13]
○ Compiling /_error ... ✓ Compiled /_error in 3.5s ✓ Compiled /favicon.ico in 169ms