lerna/lerna · error · ValidationError

err.message

Error message

err.message

What it means

Error "err.message" thrown in lerna/lerna.

Source

Thrown at libs/core/src/lib/project/index.ts:155

      });

      licensePath = search.shift();

      if (licensePath) {
        // POSIX results always need to be normalized
        licensePath = path.normalize(licensePath);

        // redefine getter to lazy-loaded value
        Object.defineProperty(this, "licensePath", {
          value: licensePath,
        });
      }
    } catch (err) {
      /* istanbul ignore next */
      // TODO: refactor to address type issues
      // eslint-disable-next-line @typescript-eslint/ban-ts-comment
      // @ts-ignore
      throw new ValidationError(err.name, err.message);
    }

    return licensePath;
  }

  get fileFinder() {
    const finder = makeFileFinder(this.rootPath, this.packageConfigs);

    // redefine getter to lazy-loaded value
    Object.defineProperty(this, "fileFinder", {
      value: finder,
    });

    return finder;
  }

  /**
   * A promise resolving to a list of Package instances

View on GitHub (pinned to 35d15a1567)

When it happens

Trigger: Thrown at libs/core/src/lib/project/index.ts:155 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of lerna/lerna@35d15a1567 (2026-08-27). Data as JSON: /api/errors/9ac40b617ddf3377. Report an issue: GitHub.