semantic-release / npm

:ship: semantic-release plugin to publish a npm package
MIT License
244 stars 114 forks source link

error on publishing #654

Open sivaselvimahalingam opened 1 year ago

sivaselvimahalingam commented 1 year ago

npm notice npm notice 📦 review-popup-7@0.0.2 npm notice === Tarball Contents === npm notice 629B dist/index.js npm notice 4.3kB dist/ReviewPopup.js npm notice 1.5kB dist/Style.css npm notice 1.5kB dist/styles/style.css npm notice 403B dist/webpack.config.js npm notice 1.7kB package.json npm notice === Tarball Details === npm notice name: review-popup-7 npm notice version: 0.0.2 npm notice filename: review-popup-7-0.0.2.tgz npm notice package size: 2.6 kB npm notice unpacked size: 10.1 kB npm notice shasum: c28cacfeb582dd34fe5bcf05e4ce2b6cb8ec46fe npm notice integrity: sha512-F7Oz2XqBM0Hqr[...]OC/c2zVqDExAQ== npm notice total files: 6 npm notice npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access Authenticate your account at: https://www.npmjs.com/auth/cli/885da003-5ff4-4587-88c2-40ec1623a9a2 Press ENTER to open in the browser...

npm ERR! code EOTP npm ERR! This operation requires a one-time password from your authenticator. npm ERR! You can provide a one-time password by passing --otp= to the command you ran. npm ERR! If you already provided a one-time password then it is likely that you either typoed npm ERR! it, or it timed out. Please try again.

npm ERR! A complete log of this run can be found in: C:\Users\SivaselviMahalingam\AppData\Local\npm-cache_logs\2023-08-08T06_44_45_758Z-debug-0.log

MiroslavPetrik commented 10 months ago

You need to create new access token in NPM and pick the "CI/CD" option in the dialog window, there will be like 3 radio button options.

Then set that token as NPM_TOKEN in page (fill in your owner & repo)

https://github.com/:owner/:repository/settings/secrets/actions/new