Skip to content
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

chore: make create-dapp compatible with yarn4 #9973

Closed
wants to merge 3 commits into from

Conversation

mujahidkay
Copy link
Member

@mujahidkay mujahidkay commented Aug 27, 2024

closes: #XXXX
refs: #XXXX

Description

As described in the issue linked above, currently, if a user has yarn4 and they run yarn create @agoric/dapp demo the command fails because it uses pnp as the linker by default.

The correct way to go about it imo is to properly document that if a user is using yarn4, they have to configure it to use node-modules as its nodeLinker. This can either be done by creating a .yarnrc.yml in the directory they are supposedly running the yarn create command, or by globally configuring it via yarn config set nodeLinker node-modules

bumping the agoric package is needed for yarn4 otherwise it throws an error

Security Considerations

Scaling Considerations

Documentation Considerations

Add a section on docs site while setting up yarn to properly configure nodeLinker

Testing Considerations

TODO: add CI step to test package download using different yarn versions via verdaccio

Upgrade Considerations

Copy link

cloudflare-workers-and-pages bot commented Aug 27, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: e2d616d
Status: ✅  Deploy successful!
Preview URL: https://453eddf6.agoric-sdk.pages.dev
Branch Preview URL: https://update-create-dapp-dep.agoric-sdk.pages.dev

View logs

@mujahidkay mujahidkay closed this Aug 27, 2024
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