Skip to content

fix: fix subcommand loading on windows#27193

Merged
FGoessler merged 2 commits intomainfrom
fix/fix-subcommand-loading-on-windows
May 15, 2025
Merged

fix: fix subcommand loading on windows#27193
FGoessler merged 2 commits intomainfrom
fix/fix-subcommand-loading-on-windows

Conversation

@FGoessler
Copy link
Copy Markdown
Contributor

On windows the module path needs to be prefixed with file://.

Fixes #27192

@FGoessler FGoessler requested a review from a team May 15, 2025 14:35
@FGoessler FGoessler added this to the 6.8.0 milestone May 15, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 15, 2025

size-limit report 📦

Path Size
packages/client/runtime/library.js 401.51 KB (0%)
packages/client/runtime/library.d.ts 81 B (0%)
packages/client/runtime/binary.js 1.27 MB (0%)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 336.25 KB (-0.01% 🔽)
packages/client/runtime/edge-esm.js 334.9 KB (0%)
packages/client/runtime/wasm.js 281.5 KB (-0.01% 🔽)
packages/client/runtime/index-browser.js 67.74 KB (0%)
packages/client/runtime/index-browser.d.ts 89 B (0%)
packages/cli/build/index.js 2.64 MB (+0.07% 🔺)
packages/client/prisma-client-0.0.0.tgz 5.95 MB (+0.01% 🔺)
packages/cli/prisma-0.0.0.tgz 6.09 MB (+0.01% 🔺)
packages/bundle-size/da-workers-libsql/output.tgz 948.66 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1 MB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1.01 MB (0%)
packages/bundle-size/da-workers-pg-worker/output.tgz 1014.69 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 966.88 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 927.02 KB (0%)

Copy link
Copy Markdown
Contributor

@igalklebanov igalklebanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 15, 2025
@aqrln aqrln modified the milestones: 6.8.0, 6.8.1 May 15, 2025
@FGoessler FGoessler merged commit f36e306 into main May 15, 2025
282 checks passed
@FGoessler FGoessler deleted the fix/fix-subcommand-loading-on-windows branch May 15, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prisma 6.8.0 init error on Windows - Only URLs with a scheme in: file, data, and node are supported by the default ESM loader

3 participants