I'm not sure what I'm doing wrong, but I created a read-only bypass 2FA token on npmjs.com and every time I click verify on the settings page I get the same error message every time "Failed to verify npm token".
If it helps the token that was created starts with npm_gV03988xVv[snip] and is 40 characters long.
Sorry for not being more specific, but I went to Library - Node-RED and followed the instructions to go to npmjs [dot] com and getting a token and then pasted it into the box at the bottom, and then it just says "Failed to verify npm token" every time I click verify.
Your profile is not currently connected to an npm user account. This means we cannot identify what nodes you've published to npm.
To verify your account:
Login into npmjs.com.
Go to your Profile Settings page and then the Tokens section.
Create a new Read Only token and copy it into the box below and click verify. We do not store this token - we only use to make a one-time request to retrieve your verified npm profile.
Once you have connected your npm user account you can delete the token from your npm profile.
@evilbunny2008 With all of the recent changes on npm around token handling, I could well believe something isn't behaving. I don't have the bandwidth to investigate at the moment - you may just have to leave it unlinked for the time being.
What are you trying to do in linking your npm account on the flow library?
Which has since been accepted, but it was frustrating at the time not knowing what needed changing to fix things.
Given this problem it may not have been something I could have fixed anyway, but yea lack of information for both problems is a problem in any case as it happened to at least 1 other person too nodered [dot] org/t/error-already-rejected-this-version/102177
I don't immediately see any errors relating to that node. I do see you've published a number of updates. Do you recall which version of your packaged appeared to have errors reported or any more info on the sequence of events you saw?
When you say it was rejected, what exactly did it say?
I only started publishing at v0.0.5, and it didn't start appearing on the site until v0.0.8 at the earliest, and trying to manually publish all showed the same error.
The message 'already rejected this version' means just what it says - the library doesn't re-evaluate a package version it has already looked at. But it doesn't record the error that caused it to reject that version in the original attempt.
If you see that error, then you must have already tried to add that version previously, and you should hopefully have got some sort of error to indicate what was wrong.
I don't see any errors logged in the backend related to versions:
If the problem was fixed by simply incrementing the version, that would hint that there is a problem with how nodered.org processed packages, but with no logs it's anyone's guess as what that actually is/was, and since there is no logs it's anyone's guess how wide spread.
The error suggests that an earlier attempt to add the package at that version failed. That is the error that is important - the first time it failed. Possibly you then made changes to the package and tried to add again, but because the version had not been changed then the Already Rejected error was seen. On changing the version it then was added ok. So the fix was not incrementing the version, but whatever was changed before the version was incremented.