GithubHelp home page GithubHelp logo

Comments (5)

gr2m avatar gr2m commented on July 29, 2024

@mikeal can you re-run semantic-release-cli setup? That’ll fix the tokens. npm invalided all tokens recently

from r2.

mikeal avatar mikeal commented on July 29, 2024

@gr2m I got this error:

(master)⚑ % semantic-release-cli setup                                                                                                                             ~/git/r2
? What is your npm registry? https://registry.npmjs.org/
? What is your npm username? mikeal
ERR! semantic-release Error: Could not login to npm.
ERR! semantic-release     at getNpmToken (/usr/local/lib/node_modules/semantic-release-cli/src/lib/npm.js:55:21)
ERR! semantic-release     at process._tickCallback (internal/process/next_tick.js:68:7)
ERR! semantic-release  { Error: Could not login to npm.
ERR! semantic-release     at getNpmToken (/usr/local/lib/node_modules/semantic-release-cli/src/lib/npm.js:55:21)
ERR! semantic-release     at process._tickCallback (internal/process/next_tick.js:68:7)
ERR! semantic-release   stack:
ERR! semantic-release    'Error: Could not login to npm.\n    at getNpmToken (/usr/local/lib/node_modules/semantic-release-cli/src/lib/npm.js:55:21)\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
(master)⚑ [1] % semantic-release-cli setup

from r2.

gr2m avatar gr2m commented on July 29, 2024

would you mind if I created a dedicated npm account only for r2 releases? It’s what I usually do for my bigger repositories, it’s also more secure because npm tokens cannot be scoped by package and if someone were to get access to your token they could do some damage to all npm packages you have write access to

from r2.

mikeal avatar mikeal commented on July 29, 2024

from r2.

gr2m avatar gr2m commented on July 29, 2024

can you invite https://www.npmjs.com/~r2bot as collaborator to the r2 package?

from r2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.