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
firstname.lastname@example.org: 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
- Platform: macOS
- Platform version: Big Sur 11.6.2
- App Version: 5.5.3
> ipm -v
node 16.9.1 x64
How to reproduce
ipm publish minor
I’ve published plugins before. Am I doing something wrong?
NVM. I tried again and it worked
Feel free to close this
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 email@example.com:picklecillo/inkdrop-plugin-search-notes repository failed: Failed to fetch https://firstname.lastname@example.org:picklecillo/inkdrop-plugin-search-notes?_ts=1685493833705: Request failed with status code 404
It’s failing because
https://email@example.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
Is it just me?
Can you try fixing the
"repository" field in the package.json like so?
Seemed to work but then failed when authenticating
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: