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

Update "jlpm config set registry" command in documentation #15481

Closed
robinsonmhj opened this issue Dec 3, 2023 · 3 comments · Fixed by #15506
Closed

Update "jlpm config set registry" command in documentation #15481

robinsonmhj opened this issue Dec 3, 2023 · 3 comments · Fixed by #15506

Comments

@robinsonmhj
Copy link

when I try to setup registry, I get the following error

Usage Error: Couldn't find a configuration settings named "registry"

$ yarn config set [--json] [-H,--home]

Command is jlpm config set registry https://jfrog.io/artifactory/api/

Environment
python 3.11.4
jupyterlab 4.0.9

@robinsonmhj robinsonmhj added the bug label Dec 3, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Dec 3, 2023
Copy link

welcome bot commented Dec 3, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@krassowski
Copy link
Member

Thanks for reporting @robinsonmhj. Could you try:

jlpm config set npmRegistryServer https://jfrog.io/artifactory/api/

It looks like the documentation was not updated after transition from yarn 1.x to 3.x:

jlpm config set registry https://registry.yarnpkg.com/

@JasonWeill JasonWeill changed the title Usage Error: Couldn't find a configuration settings named "registry" Update "jlpm config set registry" command in documentation Dec 5, 2023
@JasonWeill JasonWeill added good first issue and removed status:Needs Triage Applied to new issues that need triage labels Dec 5, 2023
@DcWire
Copy link
Contributor

DcWire commented Dec 6, 2023

Hey @krassowski , its my first contribution to a repository and I am eager to take this up. Can I be assigned for this task? Also, please correct me if I am wrong, I have to correct the line you've given
Line 192 in /docs/source/getting_started/installation.rst to
jlpm config set npmRegistryServer https://registry.yarnpkg.com/
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants