Skip to content

Lightning component module not found

Detection

  • RegExp: Error (.*) No MODULE named markup:\/\/(\S+) found

Examples

  • Error invoiceList No MODULE named markup://c:invoiceRow found

Resolution

Component {1} uses {2}, which is not in the target org.
- Deploy the component {2}: retrieve it from your org with the Metadata Retriever of VS Code, commit it and save your User Story: sfdx-hardis adds it to manifest/package.xml
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)
- Or fix the import or the tag in {1}, and check the case of the name

Comments