Closed fedegiust closed 1 year ago
Hello,
Thank you for reaching out to me.
It appears that the nodejs/sfdx-cli installation might not have been successful. There are two potential reasons for this issue:
While I cannot determine the exact reason for the issue from my end, I recommend investigating the installation and access permissions on your side. Rest assured, this issue does not seem to be directly related to SFDMU.
As a further check, I tested the latest versions of node/sfdx in my environment, and everything is working smoothly. Here are some screenshots for reference:
Please review your setup and ensure that nodejs and sfdx are correctly installed and have the necessary permissions. If you need any further assistance, feel free to reach out.
Cheers,
But why is it looking for node.exe under the salesforce cli folder and not the env path?
C:\Program Files\Salesforce CLI\bin\node.exe
I don't have a node.exe neither in Salesforce CLI or sf folder
I just found out the issue!
There were two versions of SFDX on this work laptop, I recently installed the latest .exe downloaded from the Salesfoce tools site but the old was still there.
I uninstalled the old one, reinstalled the plugins and it's working fine now!
I don't know why this exception is thrown internally by SFDX. I never call node.exe in my code. Try reinstalling Node.js / SFDX. It looks like an issue related to your specific environment. Unfortunately, I can't help you with this. Regards
Happy to hear that it's working now!
Describe the bug When trying to run the command from the command line I'm getting this error
sfdx sfdmu:run --sourceusername SOURCEORG --targetusername SANDBOX --path C:\Users\Usuario\Documents\SFDMU_APP\data\username\Accounts\ --verbose
Node v18.17.0 sfdx-cli/7.190.2 win32-x64 node-v18.14.1
To Reproduce Not sure, recently I've uptaded SFDX to the latest version and Node 18, I haven't used the plugin for a long time, and I've updated it today.
Expected behavior Expected to run the migration
export.json contents of my export.json
Log file Attach your full .log file.
_target.csv file. When you have an issue with failed rows, attach the dump of the _target.csv file containing the error messages (at least 1-2 relevant full rows).