{
  "version": 3,
  "sources": ["../../../../../../src/packages/core/install/checkCompatibility/ModulesBreakingChangeError.ts"],
  "sourcesContent": ["import { BreakingChangeError } from './BreakingChangeError.ts';\nimport type { ErrorRelatedSources } from './ErrorRelatedSources.ts';\n\nexport type ModulesBreakingChangeErrorOptions = ErrorRelatedSources & {\n  modulesPath: string;\n};\n\nexport class ModulesBreakingChangeError extends BreakingChangeError {\n  modulesPath: string;\n\n  constructor(opts: ModulesBreakingChangeErrorOptions) {\n    super({\n      additionalInformation: opts.additionalInformation,\n      code: 'MODULES_BREAKING_CHANGE',\n      message: `The node_modules structure at \"${opts.modulesPath}\" is not compatible with the current pnpm version. Run \"pnpm install --force\" to recreate node_modules.`,\n      relatedIssue: opts.relatedIssue,\n      relatedPR: opts.relatedPR,\n    });\n\n    this.modulesPath = opts.modulesPath;\n  }\n}\n"],
  "mappings": "AAAA,SAAS,2BAA2B;AAO7B,MAAM,mCAAmC,oBAAoB;AAAA,EAClE;AAAA,EAEA,YAAY,MAAyC;AACnD,UAAM;AAAA,MACJ,uBAAuB,KAAK;AAAA,MAC5B,MAAM;AAAA,MACN,SAAS,kCAAkC,KAAK,WAAW;AAAA,MAC3D,cAAc,KAAK;AAAA,MACnB,WAAW,KAAK;AAAA,IAClB,CAAC;AAED,SAAK,cAAc,KAAK;AAAA,EAC1B;AACF;",
  "names": []
}
