@jasonkuhrt actually above pr seems to resolve the not found module for nodejs modules. Now some other compatibility issue of @wollybeard/kit breaks build with next.js 15.5.7
node:fs/promises
Module build failed: UnhandledSchemeError: Reading from "node:fs/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
./node_modules/.pnpm/@wollybeard+kit@0.102.1_@effect+platform@0.93.6_effect@3.19.10__effect@3.19.10/node_modules/@wollybeard/kit/build/utils/dir/dir.js
./node_modules/.pnpm/@wollybeard+kit@0.102.1_@effect+platform@0.93.6_effect@3.19.10__effect@3.19.10/node_modules/@wollybeard/kit/build/utils/dir/__.js
./node_modules/.pnpm/@wollybeard+kit@0.102.1_@effect+platform@0.93.6_effect@3.19.10__effect@3.19.10/node_modules/@wollybeard/kit/build/utils/dir/_.js
./node_modules/.pnpm/@wollybeard+kit@0.102.1_@effect+platform@0.93.6_effect@3.19.10__effect@3.19.10/node_modules/@wollybeard/kit/build/exports/index.js
./node_modules/.pnpm/graffle@8.0.0-next.220_@effect+platform@0.93.6_effect@3.19.10__@opentelemetry+api@1.9.0_6f80d207cd73597135fbb64eee73d906/node_modules/graffle/build/client/client.js
./node_modules/.pnpm/graffle@8.0.0-next.220_@effect+platform@0.93.6_effect@3.19.10__@opentelemetry+api@1.9.0_6f80d207cd73597135fbb64eee73d906/node_modules/graffle/build/exports/index.js
./src/providers/graphqlClient.tsx
This error is repeated for node:fs, node:os and node:path.
Originally posted by @ogous in #1460
Originally posted by @ogous in #1460