Skip to content

Trying to get started, encountered this issue: "npm ERR! code EN0ENT" #150

Answered by bcomnes
JamesGauvreau asked this question in Q&A
Discussion options

You must be logged in to vote

Forbidden is neocities rejecting the token. Best I can advise is to try and regenerate the token on neocities and re-enter it. If you have a neocities supporter account I've noticed that the ui can be confusing about which website you are generating tokens for.

Also, if you added the secret to your repo directly, it is now forever in your git history (which is why you never should add secrets to your git repos).

So both circumstances mean you should invalidate your token by making a new one, setting it as a repo secret and trying again after setting the actual yml to pull from it again. The action readme has an example of proper use of secrets to reference.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@JamesGauvreau
Comment options

@bcomnes
Comment options

Answer selected by JamesGauvreau
@JamesGauvreau
Comment options

@bcomnes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants