Fix Token Issue
Your current token doesn't have "2FA bypass" enabled. You need an Automation token.
Option 1: Create Automation Token (Recommended)
npm_...).tmp file:echo "npm_YOUR_TOKEN_HERE" > .tmp
Option 2: Use Current Token with OTP
If your token is a "Publish" token, you need to pass OTP:
cd packages/core
npm publish --otp=123456 # Get code from authenticator app
How to Check Token Type
The error says you need an automation token. Here's the difference:
- Publish token: Requires 2FA code with
--otpflag - Automation token: Bypasses 2FA (for CI/CD)
Quick Fix
Just create a new "Automation" token and put it in .tmp, then let me know!