@pnpm/core
Version:
Fast, disk space efficient installation engine
18 lines • 865 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModulesBreakingChangeError = void 0;
const BreakingChangeError_1 = require("./BreakingChangeError");
class ModulesBreakingChangeError extends BreakingChangeError_1.BreakingChangeError {
constructor(opts) {
super({
additionalInformation: opts.additionalInformation,
code: 'MODULES_BREAKING_CHANGE',
message: `The node_modules structure at "${opts.modulesPath}" is not compatible with the current pnpm version. Run "pnpm install --force" to recreate node_modules.`,
relatedIssue: opts.relatedIssue,
relatedPR: opts.relatedPR,
});
this.modulesPath = opts.modulesPath;
}
}
exports.ModulesBreakingChangeError = ModulesBreakingChangeError;
//# sourceMappingURL=ModulesBreakingChangeError.js.map
;