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

Couldn't re-exec init when yarn failed on init #707

Open
Menci opened this issue Feb 13, 2020 · 0 comments
Open

Couldn't re-exec init when yarn failed on init #707

Menci opened this issue Feb 13, 2020 · 0 comments

Comments

@Menci
Copy link

@Menci Menci commented Feb 13, 2020

root@syzoj-test-vm:~/syzoj-ng-app# commitizen init cz-conventional-changelog --yarn --dev --exact
Attempting to initialize using the npm package cz-conventional-changelog
yarn add v1.19.0
[1/4] Resolving packages...
[2/4] Fetching packages...
error Incorrect integrity when fetching from the cache
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
root@syzoj-test-vm:~/syzoj-ng-app# commitizen init cz-conventional-changelog --yarn --dev --exact
Attempting to initialize using the npm package cz-conventional-changelog
Error: Error: A previous adapter is already configured. Use --force to override
    adapterConfig.path: ./node_modules/cz-conventional-changelog
    repoPath: /root/syzoj-ng-app
    CLI_PATH: /usr/local/share/.config/yarn/global/node_modules/commitizen/
    installAdapterCommand: yarn add cz-conventional-changelog --dev --exact
    adapterNpmName: cz-conventional-changelog

Only removing the new entries from package.json can I run the init command again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.