Skip to content

Yarn release run script failingΒ #8

@elisechant

Description

@elisechant

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions