mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-23 17:33:51 +02:00
chore(release): clarify stale npm auth recovery
This commit is contained in:
1 parent
22df72ac7f
commit
318718b04a
2 files changed
+3
-2
No files matched your search
@@ -109,7 +109,8 @@ function ensureNpmAuth() {
|
||||
throw new Error(
|
||||
[
|
||||
"npm auth check failed.",
|
||||
"Run `npm login` or `npm adduser` on this maintainer machine with an npm account that can publish to the @paperclipai scope, then rerun with --publish.",
|
||||
"This usually means the machine is either not logged into npm yet or has a stale token in ~/.npmrc.",
|
||||
"Run `npm logout --registry=https://registry.npmjs.org/` and then `npm login` or `npm adduser` on this maintainer machine with an npm account that can publish to the @paperclipai scope, then rerun with --publish.",
|
||||
"Do not use this auth flow in CI; it is only for the one-time human bootstrap publish.",
|
||||
].join(" "),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user