Git Product home page Git Product logo

salesforce-isv-cockpit's Issues

Error about LMA Page Layout when creating Unlocked Package version

Taking the current repo files and trying to build a new Unlocked Package produces an error about a duplicate page layout.

In order to include the LMA as a dependency, I added the following to the appropriate section of my sfdx-package.json file:

"dependencies": [{"package": "04t30000001DWL0AAO"}]

I got this package version id from the scripts folder.

Now that the LMA dependency can be resolved successfully, the package mostly builds except for this error:

ERROR running force:package:version:create: You're trying to include Layout sfLma__Package__c-sfLma__Package Layout in Package ver 0.1. This component already exists in Package null, which Package ver 0.1 depends on. You can't include the same component in both packages.

I deleted the page layout from the repo and the version successfully builds. It seems having the page layout in this repo/package conflicts with the existing layout in the LMA app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.