wikibase-cli icon indicating copy to clipboard operation
wikibase-cli copied to clipboard

I can't install in paws

Open hubaishan opened this issue 1 year ago • 1 comments

I can't install in paws, is there a guide to install in paws?

hubaishan avatar Feb 20 '24 10:02 hubaishan

@hubaishan I'm not familiar with paws, is it that paws https://software.sil.org/paws/ ? Is there a known way to install npm packages in paws?

maxlath avatar Feb 20 '24 13:02 maxlath

@maxlath No, It is https://wikitech.wikimedia.org/wiki/PAWS

hubaishan avatar Feb 27 '24 19:02 hubaishan

It does not seem to give the possibility to install nodejs/npm packages, I'm afraid, but maybe you can ask the PAWS developers/maintainers if there is a way to do that.

maxlath avatar Feb 28 '24 09:02 maxlath

I made this feature request https://phabricator.wikimedia.org/T358649

Correction It installed successfully but without direct links.

The installation process is:

  1. open terminal windows.
  2. npm install [email protected]
  3. we can run by node node_modules/wikibase-cli/bin/wd not wd directly
  4. configure your OAuth keys
  5. if server stopped you must reinstall and reconfigure.

hubaishan avatar Feb 28 '24 10:02 hubaishan

@maxlath please review the pull request https://github.com/toolforge/paws/pull/381

hubaishan avatar Mar 01 '24 20:03 hubaishan

It is now part of default paws installation after https://github.com/toolforge/paws/pull/381.

hubaishan avatar Mar 18 '24 10:03 hubaishan

@hubaishan nice! sorry I missed the previous notification

maxlath avatar Mar 18 '24 11:03 maxlath