Describe the problem/error/question
In order to verify an n8n community node the documentation states:
Verify that your npm package repository URL matches the expected GitHub (or other platform) repository.
However [or other platform] doesn’t seem to be true. I tried to build and publish an NPM package from my own forgejo instance (code.squarecows.com) but this resulted in the package failing the automatic verification process.
npm install && npm build && npm publish all ran successfully from the command line and the package published to npmjs.com and installed on a self hosted test node.
The URL for the repository had the following settings:
type was git
and the url was git+https:// I could see the file referenced on the server. I even tried committing the dist folder!
What is the error message (if any)?
Error message was:
Cannot Find credentials file in repo
This file did exist though.
Steps to resolve
- created an empty github repository
- updated package.json to point to that repository
- had forgejo push mirror the repository onto github (to keep contents the same)
- resubmitted the package and it worked first time
Possible causes
It seems that the auto verification process may be hard coded somewhere to github.com
Remediation
it would be great if this process could support other hubs/forges fully and allow us to control our code and just publish to npmjs.com without the need for a github mirror.