Skip to content

Fix finding the standard library for pnpm some more #7624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Jul 10, 2025

Tested with another pnpm project where the rescript dependency was not in the workspace root package. There the trick with following the symlink didn't work.

This fixes the problem by explicitly locating the rescript package with the matching version within the .pnpm folder structure.

Copy link

pkg-pr-new bot commented Jul 10, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7624

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7624

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7624

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7624

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7624

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7624

commit: 3f5e32c

@cknitt
Copy link
Member Author

cknitt commented Jul 12, 2025

Superseded by #7637

@cknitt cknitt closed this Jul 12, 2025
@cknitt cknitt deleted the pnpm-fix-2 branch July 12, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant