Cannot publish plugin

Bug report

Hi Takuya,

I’m trying to publish a new plugin but getting a 404 error from github on registration, querying this url

I got past the registration by removing the git@github.com: part of the repo url on my package.json, but then got this other error:

Failed to fetch https://raw.githubusercontent.com/picklecillo/inkdrop-plugin-zettelkasten/0.2.0/package.json?_ts=1684023477132: Request failed with status code 404

Environment

  • Platform: macOS
  • Platform version: Big Sur 11.6.2
  • App Version: 5.5.3
> ipm -v
ipm  2.6.3
npm  6.14.16
node 16.9.1 x64
inkdrop 5.5.3
python 3.8.5
git 2.34.0

How to reproduce

ipm publish minor

I’ve published plugins before. Am I doing something wrong?
Thanks!

NVM. I tried again and it worked :eyes:
Feel free to close this :grimacing:

1 Like

Great work, picklecillo👏

Turns out the issue remains.
I’m trying to publish a new plugin, but it fails here:

> ipm publish minor
(node:46343) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Registering search-notes ✗
Registering package in git@github.com:picklecillo/inkdrop-plugin-search-notes repository failed: Failed to fetch https://api.github.com/repos/git@github.com:picklecillo/inkdrop-plugin-search-notes?_ts=1685493833705: Request failed with status code 404

It’s failing because https://api.github.com/repos/git@github.com:picklecillo/inkdrop-plugin-search-notes?_ts=1685493833705 does not exist. The correct path would be https://api.github.com/repos/picklecillo/inkdrop-plugin-search-notes?_ts=1685493833705, without the git@github.com: part.

Is it just me?
Thanks

Can you try fixing the "repository" field in the package.json like so?

"repository": "https://github.com/picklecillo/inkdrop-plugin-search-notes"

Seemed to work but then failed when authenticating :frowning:

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/picklecillo/inkdrop-import-kindle-highlights/'

You have to authenticate with Personal Access Token: