Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sf project convert source could ignore errors #3186

Closed
nvuillam opened this issue Jan 21, 2025 · 2 comments
Closed

sf project convert source could ignore errors #3186

nvuillam opened this issue Jan 21, 2025 · 2 comments
Labels
more information required Issue requires more information or a response from the customer

Comments

@nvuillam
Copy link

Sometimes, sf project source convert crashes when trying to convert... metadata that has been download using sf project retrieve start ^^

sf project convert source --metadata CustomObject --output-dir xxxxx

 »   Warning: sfdx-hardis is a linked ESM module and cannot be auto-transpiled.
 »    Existing compiled source will be used instead.
 »   Warning: Plugin @salesforce/plugin-deploy-retrieve (3.17.3) differs from
 »   the version specified by sf (3.17.0)
Error (UnexpectedForceIgnore): Metadata xml file xxxxx\force-app\main\default\staticresources\fullCalendar.resource-meta.xml is forceignored but is required for xxxx\force-app\main\default\staticresources\fullCalendar.

Would it be possible to convert the error into a warning, or add --ignore-warnings to the command ?

Fun stuff is that I'm trying to convert a CustomObject, the static resource metadata is not even included in its scope :(

Thanks & best regards :)

@nvuillam nvuillam added the investigating We're actively investigating this issue label Jan 21, 2025
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

Copy link

Hello @nvuillam 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Jan 21, 2025
@forcedotcom forcedotcom locked and limited conversation to collaborators Jan 21, 2025
@mdonnalley mdonnalley converted this issue into discussion #3187 Jan 21, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
more information required Issue requires more information or a response from the customer
Projects
None yet
Development

No branches or pull requests

1 participant