You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running yarn release on a newly cloned repo fails:
~/Sites/thinkmill/monorepo-starter-2(master) » yarn release elisechant@Elises-MacBook-Pro
yarn run v1.21.1
$ yarn build && changeset publish
$ preconstruct build
🎁 info building bundles!
🎁 success built bundles!
🦋 info npm info @monorepo-starter/simple-package
🦋 info npm info @monorepo-starter/with-multi-entrypoints
🦋 error an error occurred while running `npm profile get`: E401
🦋 error Unable to authenticate, your authentication token seems to be invalid.
🦋 error Unable to authenticate, your authentication token seems to be invalid.
🦋 warn @monorepo-starter/simple-package is not being published because version 1.0.0 is already published on npm
🦋 warn @monorepo-starter/with-multi-entrypoints is not being published because version 1.0.0 is already published on npm
🦋 warn No unpublished packages to publish
ExitError: The process exited with code: 1
at getTokenIsRequired (/Users/elisechant/Sites/thinkmill/monorepo-starter-2/node_modules/@changesets/cli/dist/cli.cjs.dev.js:491:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
This should just work with no configuration.
The text was updated successfully, but these errors were encountered:
elisechant
changed the title
Yarn release failing
Yarn release run script failing
Feb 9, 2020
It looks like you're not logged into npm on your machine (it failed to authenticate you)
Additionally, there's no way we can make this work out of the box, as most people who clone this won't have publish rights to the package names @monorepo-starter/simple-package and will need to add/update their own packages.
Running
yarn release
on a newly cloned repo fails:This should just work with no configuration.
The text was updated successfully, but these errors were encountered: