Skip to content

409 Conflict Errors: this package already present. #4794

Closed Answered by juanpicado
With-Darkness asked this question in Q&A
Discussion options

You must be logged in to vote

You need to update your config file.

https://verdaccio.org/docs/best#override-public-packages

Why the 409 happens? Because you named react your package and react already exist as a package in npmjs, you can see your logs clearly says already exist, thus if you insist in call your package react (which I don't recommend, please use scopes always) then you need this setup, but keep on mind you won't be able to use react from npmjs.

packages:
    'react':
     access: $all
     publish: $authenticated
   '@*/*':
     access: $all
     publish: $authenticated
     proxy: npmjs
   '**':
     access: $all
     publish: $authenticated
     proxy: npmjs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@With-Darkness
Comment options

Answer selected by With-Darkness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants