publishing npm package: 404 Not Found

I then changed the version in the package.json to v1.0.1, then when I published it worked

then I deleted v1.0.1 and then published v1.0.0 and then it worked. very wierd.

also placiing this line in the packages .npmrc worked

echo @werm:registry=https://gitlab.selectiont.com/api/v4/projects/7/packages/npm/ >> .npmrc

Also found this fix

you either need to use a equal sign on all or none.

having this by itself worked

Leave a Reply

Your email address will not be published.