Skip to main content
edited title
Source Link
Keith C
  • 137.4k
  • 29
  • 218
  • 458

2GP dependent managed package creation failing todaywith null explanation message

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency,
    ID 04t************: null
(2) An error occurred while trying to install a package dependency,
    ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that. I've updated to the latest CLI from 7.133.0-cddd46d to 7.134.0-4f69b20.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

2GP dependent managed package creation failing today

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that. I've updated to the latest CLI from 7.133.0-cddd46d to 7.134.0-4f69b20.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

2GP dependent managed package creation failing with null explanation message

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency,
    ID 04t************: null
(2) An error occurred while trying to install a package dependency,
    ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that. I've updated to the latest CLI from 7.133.0-cddd46d to 7.134.0-4f69b20.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

added 93 characters in body
Source Link
Keith C
  • 137.4k
  • 29
  • 218
  • 458

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that. I've updated to the latest CLI from 7.133.0-cddd46d to 7.134.0-4f69b20.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that. I've updated to the latest CLI from 7.133.0-cddd46d to 7.134.0-4f69b20.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

added 93 characters in body
Source Link
Keith C
  • 137.4k
  • 29
  • 218
  • 458

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

I have an sfdx-project.json of this form that worked about week ago to create an unpublished version of a package that depends on another package:

{
    "packageDirectories": [
        {
            ...
            "dependencies": [
                {
                    "package": "[email protected]"
                }
            ]
        }
    ],
    ...
    "packageAliases": {
        "[email protected]": "04t***************"
    }
}

but today (26 Jan 2022) the sfdx:force:package:version:create fails repeatedly this error:

ERROR running force:package:version:create:  Multiple errors occurred:
(1) An error occurred while trying to install a package dependency, ID 04t************: null
(2) An error occurred while trying to install a package dependency, ID 04t************: null

Changing the dependency to an earlier version generates the corresponding error for that.

Anyone else experiencing this or have a solution? I note that I'm also getting this new message from SFDX:

Warning: Based on feedback from Salesforce Partners, we’re enhancing the package ancestry feature. Starting in Spring ‘22, the ancestor version field is required when you create a package version. Look for more details, including how to override the ancestry requirement, in the packaging section of the Spring ‘22 Salesforce Release Notes and in the Salesforce DX Developer Guide.

added 165 characters in body
Source Link
Keith C
  • 137.4k
  • 29
  • 218
  • 458
Loading
Source Link
Keith C
  • 137.4k
  • 29
  • 218
  • 458
Loading