Skip to content

Error during adding tiptap package registry to yarn #44

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

Open
KhanShaheb34 opened this issue Oct 15, 2024 · 0 comments
Open

Error during adding tiptap package registry to yarn #44

KhanShaheb34 opened this issue Oct 15, 2024 · 0 comments

Comments

@KhanShaheb34
Copy link
Contributor

In an attempt to follow to the instructions outlined in this page for a project using yarn:4.1.1, I encountered an issue where yarn persisted in attempting to install the package from https://registry.yarnpkg.com instead of https://registry.tiptap.dev.

Upon further investigation, I discovered that the suggested solution lies within the .yarnrc.yml file. Specifically, the proposed modification involves adding the following configuration:

npmScopes:
    "@tiptap-pro":
        npmAlwaysAuth: true
        npmRegistryServer: https://registry.tiptap.dev/
        npmAuthToken: ${TIPTAP_PRO_TOKEN}

However, it was observed that removing the @ from the scope name resolved the issue. Consequently, the modified configuration would be:

npmScopes:
    "tiptap-pro":
        npmAlwaysAuth: true
        npmRegistryServer: https://registry.tiptap.dev/
        npmAuthToken: ${TIPTAP_PRO_TOKEN}

While I intended to submit a PR to address this issue, I have identified additional areas that require attention. Therefore, I have decided to raise this issue.

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

No branches or pull requests

1 participant