1
resposta

npm publish --access=public

C:\Users\Carlos\Documents\Alura\alurabooks-ds>npm publish --access=public npm notice npm notice package: alurabooks-ds@0.1.0 npm notice === Tarball Contents === npm notice 1.1kB LICENSE npm notice 18B README.md npm notice 1.3kB dist/alurabooks-ds.cjs.development.js npm notice 1.6kB dist/alurabooks-ds.cjs.development.js.map npm notice 766B dist/alurabooks-ds.cjs.production.min.js npm notice 1.4kB dist/alurabooks-ds.cjs.production.min.js.map npm notice 1.1kB dist/alurabooks-ds.esm.js npm notice 1.6kB dist/alurabooks-ds.esm.js.map npm notice 83B dist/componentes/AbBotao/index.d.ts npm notice 362B dist/index.d.ts npm notice 204B dist/index.js npm notice 1.8kB package.json npm notice 441B src/componentes/AbBotao/index.tsx npm notice 605B src/index.tsx npm notice === Tarball Details === npm notice name: alurabooks-ds npm notice version: 0.1.0 npm notice filename: alurabooks-ds-0.1.0.tgz npm notice package size: 3.5 kB npm notice unpacked size: 12.3 kB npm notice shasum: 6e6f46cfa1412a17339345ce7c3b9536b32b8aad npm notice integrity: sha512-s5d2kJZA7H8w9[...]ZY45lPzJkVp4Q== npm notice total files: 14 npm notice npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/alurabooks-ds - You do not have permission to publish "alurabooks-ds". Are you logged in as the correct user? npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy, or npm ERR! 403 on a server you do not have access to.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Carlos\AppData\Local\npm-cache_logs\2023-03-27T18_48_01_669Z-debug.log

1 resposta

Salve, Carlos!

Você precisa só ajustar o nome do pacote pra um diferente do alurabooks-ds, porque este já está em uso.

Assim deve conseguir publicar a sua versão.