nodegui/svelte-nodegui

Can't publish @nodegui/svelte-nodegui

shirakaba opened this issue · 3 comments

I'm unable to publish @nodegui/svelte-nodegui. Just to confirm, I am logged in as shirakaba when using npm via the CLI:

$ npm whoami
shirakaba

... And I can confirm via npmjs.com that this user is part of the @nodegui organisation:

image

However, when I come to deploy the app, I get stopped for some reason. It says I must sign up for private packages (it says this even though I've removed the private field in package.json).

$ npm run deploy
# Build output...
npm notice === Tarball Details === 
npm notice name:          @nodegui/svelte-nodegui                 
npm notice version:       0.0.1-alpha                             
npm notice package size:  47.6 kB                                 
npm notice unpacked size: 215.0 kB                                
npm notice shasum:        9082d02629423361d3aae51242d659ce2b1847a8
npm notice integrity:     sha512-2j+D0vhh2ANAc[...]f8hOv0UH5e+UA==
npm notice total files:   93                                      
npm notice 
npm ERR! code E402
npm ERR! 402 Payment Required - PUT https://registry.npmjs.org/@nodegui%2fsvelte-nodegui - You must sign up for private packages

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jamie/.npm/_logs/2021-02-21T23_30_02_437Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/svelte-nodegui@0.0.1-alpha deploy: `npm run build && cd dist && npm publish`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @nodegui/svelte-nodegui@0.0.1-alpha deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jamie/.npm/_logs/2021-02-21T23_30_02_462Z-debug.log

Any idea what's going on @a7ul?

a7ul commented

Maybe try this: npm publish --access=public ?
I faced something similar and did this some time ago ^

@a7ul Brilliant idea!

npm notice === Tarball Details === 
npm notice name:          @nodegui/svelte-nodegui                 
npm notice version:       0.0.1-alpha                             
npm notice package size:  47.7 kB                                 
npm notice unpacked size: 215.1 kB                                
npm notice shasum:        0d67e1048aea16d92742bb426962fdb7c1e4d0a6
npm notice integrity:     sha512-Yq308nH81H53P[...]D62GE7mC3YRSg==
npm notice total files:   93                                      
npm notice 
+ @nodegui/svelte-nodegui@0.0.1-alpha

That means our first release is out! 🥳 though the repo will still be private until we've sorted out onboarding.

This unblocks the creation of a demo app boilerplate.

@a7ul Do you have any thoughts about what to do for documentation? Svelte NodeGUI literally uses React NodeGUI under-the-hood so I'm somewhat tempted to just point users at that docs site and call it a job done; but at the same time, people like things in one place. Is there a low-effort way to move forwards on this?

EDIT: I'll open a new issue in a moment to discuss plans for documentation.

Issue for discussing docs here: #25