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: Unable to load the "conventional" preset package. Please make sure it's installed. #975

Open
jucian0 opened this issue Feb 27, 2023 · 0 comments

Comments

@jucian0
Copy link

jucian0 commented Feb 27, 2023

I'm trying to integrate it into my project, but I could not solve a problem using conventionalRecommendedBump.
Could someone explain to me what package is missing here?

  conventionalRecommendedBump(
        { preset, tagPrefix, path: cwd() },
        (err, recommendation) => {
          if (err) {
            reject(err);
          }
          const type = recommendation.releaseType || "patch";
          const next = semver.inc(currentVersion, type) || currentVersion;
          resolve(next);
        }
      );

Error:

Error: Unable to load the "conventional" preset package. Please make sure it's installed.
    at conventionalRecommendedBump (/home/barbosa/javascript/with-changesets/node_modules/.pnpm/conventional-recommended-bump@6.1.0/node_modules/conventional-recommended-bump/index.js:34:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant