react-native-version-check
react-native-version-check copied to clipboard
[BUG]-After a "virgin" install of npm and sfdx, and SFDMU by NPM, still can't sfdmu:run
Describe the bug After totally uninstalling SFDMU, SFDX, and even Node/NPM and then reinstalling them, running sfdmu, I get "TypeError: Cannot read properties of undefined (reading 'prototype')".
sfdx sfdmu:run --sourceusername [source name removed] -targetusername [target name removed] TypeError: Cannot read properties of undefined (reading 'prototype')
To Reproduce
- Uninstall SFDMU, SFDX, Node/NPM following the NPM type uninstall directions for each, rebooting as needed.
- Reinstall all the above, following the NPM type installation directions for each, confirming good installs using --version.
- Run SFDMU with this command, (source and target as appropriate,) and get a "TypeError," with no log files or target.csv file: sfdx sfdmu:run --sourceusername [source name removed] -targetusername [target name removed]
**TypeError: Cannot read properties of undefined (reading 'prototype')**
The error may be related to missing configuration file(s) having to do with "@oclif\dev-cli" as running "inspect" gives this output and an error:
sfdx plugins:inspect sfdmu sfdmu version: 4.15.0 tag: latest homepage: https://help.sfdmu.com location: C:\Users[User]\AppData\Local\sfdx\node_modules\sfdmu commands: sfdmu:run dependencies: @oclif/command: 1.8.16 @oclif/config: 1.18.3 failed Error: ENOENT: no such file or directory, open 'C:\Users[User]\AppData\Local\sfdx\node_modules@oclif\dev-cli\package.json' Code: ENOENT
Expected behavior Sfdmu should have run, copying the contents identified in the json file from the source to the target Orgs.
export.json Attach your export.json file
Log file None created
_target.csv file. None created