marsson / dataDicGen

SFDX plugin that generates an excel data dictionary based on the current org
28 stars 9 forks source link

Deprecated config name: apiVersion. Please use org-api-version instead. #5

Open alwaysbebatman opened 1 year ago

alwaysbebatman commented 1 year ago

I recently installed the plugin and this is the Warning message I received when I run it.

(node:79990) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.
(Use `node --trace-warnings ...` to show where the warning was created)

Once I receive this - nothing else happens.

I tried using the --apiversion flag in my call to :generate - and I receive the same warning.

Running Ventura 13.4 on an M2 Mac.

martianspace commented 1 year ago

I have the same issue, unfortunately haven't figured it out yet

alwaysbebatman commented 1 year ago

My first hunch is something to do with Salesforce's changes to the CLI - but, that's just speculation. @marsson - Any chance you've got a fix for this?

jhgihub0 commented 1 year ago

I have the same issue. To reproduce you have to uninstall SFDX and install Salesforce CLI

See https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_migrate.htm

Manually Uninstall https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_uninstall.htm?q=uninstall Reinstall https://developer.salesforce.com/tools/salesforcecli#

Npm: Uninstall: npm uninstall sfdx-cli --global Reinstall: npm install --global @salesforce/cli

Once you have Salesforce CLI installed, then the command sfdx dataDictionary:generateno longer generates the Excel file

martianspace commented 1 year ago

I'm leaving my data dictionary project on pause for now. The paid versions (25-35k) are not worth it. This would be a good tool