Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Have you forgotten to install @changesets/cli in #125

Open
lobor opened this issue Sep 8, 2023 · 3 comments
Open

Error: Have you forgotten to install @changesets/cli in #125

lobor opened this issue Sep 8, 2023 · 3 comments

Comments

@lobor
Copy link

lobor commented Sep 8, 2023

When install it globaly, not found @changesets/cli

$ yarn global add [email protected] @changesets/[email protected]
$ changesets-gitlab
::set-output name=published::false
::set-output name=publishedPackages::[]
setting git user
[command]/usr/bin/git config user.name ******
[command]/usr/bin/git config user.email "******"
setting GitLab credentials
[command]/usr/bin/git checkout changeset-release/master
error: pathspec 'changeset-release/master' did not match any file(s) known to git
[command]/usr/bin/git checkout -b changeset-release/master
Switched to a new branch 'changeset-release/master'
[command]/usr/bin/git fetch origin master
From ******
 * branch            master     -> FETCH_HEAD
[command]/usr/bin/git reset --hard origin/master
HEAD is now at f07e379 Merge branch 'testComment' into 'master'
Error: Have you forgotten to install `@changesets/cli` in "******"?
@JounQin
Copy link
Member

JounQin commented Sep 8, 2023

`Have you forgotten to install \`@changesets/cli\` in "${cwd}"?`,

Mostly this package should be used in project level, but PR welcome to support global installed mode.

@fouss
Copy link

fouss commented Dec 1, 2023

any news on this issue ?

@JounQin
Copy link
Member

JounQin commented Dec 1, 2023

Mosty this package should be used in project level, but PR welcome to support global installed mode.

Don't wait for anyone else.

@JounQin JounQin pinned this issue Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants