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

create-redwood-app includes private Verdaccio registry causing installation failure #11706

Open
1 task done
mrkimani-ndegwa opened this issue Oct 24, 2024 · 2 comments
Open
1 task done
Assignees
Labels
bug/needs-info More information is needed for reproduction

Comments

@mrkimani-ndegwa
Copy link

mrkimani-ndegwa commented Oct 24, 2024

What's not working?

When creating a new Redwood project with npx create-redwood-app, the generated package.json includes a private Verdaccio registry that causes installation to fail for new users.

Current Behavior

The generated package.json includes a private registry reference:

json
"resolutions": {
    "@storybook/react-dom-shim@npm:7.6.17": "https://verdaccio.tobbe.dev/@storybook/react-dom-shim/-/react-dom-shim-8.0.8.tgz"
}

This causes yarn install to fail with:

error Couldn't find package "//verdaccio.tobbe.dev/" on the "npm" registry.

How do we reproduce the bug?

  • Run npx create-redwood-app@latest my-app
  • Navigate to project directory: cd my-app
  • Run yarn install
  • Observe the Verdaccio registry error

What's your environment? (If it applies)

No response

Are you interested in working on this?

  • I'm interested in working on this
@mrkimani-ndegwa mrkimani-ndegwa added the bug/needs-info More information is needed for reproduction label Oct 24, 2024
@carsonwlee
Copy link

I'm having this issue also

@dthyresson
Copy link
Contributor

What's not working?

When creating a new Redwood project with npx create-redwood-app, the generated package.json includes a private Verdaccio registry that causes installation to fail for new users.

Current Behavior

The generated package.json includes a private registry reference:

json
"resolutions": {
    "@storybook/react-dom-shim@npm:7.6.17": "https://verdaccio.tobbe.dev/@storybook/react-dom-shim/-/react-dom-shim-8.0.8.tgz"
}

This causes yarn install to fail with:

error Couldn't find package "//verdaccio.tobbe.dev/" on the "npm" registry.

How do we reproduce the bug?

  • Run npx create-redwood-app@latest my-app
  • Navigate to project directory: cd my-app
  • Run yarn install
  • Observe the Verdaccio registry error

@Tobbe as this message references one of your packages do you have any ideas how to resolve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

No branches or pull requests

4 participants