dropdown-xonin
v2.0.0
Published
- https://www.freecodecamp.org/news/how-to-create-and-publish-your-first-npm-package/
Downloads
2
Readme
How to publish you package on npm
https://www.freecodecamp.org/news/how-to-create-and-publish-your-first-npm-package/
Use the following to check if you're logged in
npm whoami
- If you run into the following error when publishing the package
sudo npm publish
npm notice
npm notice 📦 [email protected]
npm notice Tarball Contents
npm notice 236B package.json
npm notice 330B script.js
npm notice Tarball Details
npm notice name: dropdown
npm notice version: 1.0.0
npm notice filename: dropdown-1.0.0.tgz
npm notice package size: 445 B
npm notice unpacked size: 566 B
npm notice shasum: somenumbers
npm notice integrity: sha512-CuzWNCTothernumber=
npm notice total files: 2
npm notice
npm error code ENEEDAUTH
npm error need auth This command requires you to be logged in to https://registry.npmjs.org/
npm error need auth You need to authorize this machine using `npm adduser`
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-05-29T11_05_22_624Z-debug-0.log