forcedotcom / isvte-sfdx-plugin

BSD 3-Clause "New" or "Revised" License
42 stars 8 forks source link

Cannot read property 'split' of undefined #18

Closed jorgjanke closed 3 years ago

jorgjanke commented 3 years ago

when I run with the current version of sfdx and the plugin, I get

sfdx isvte:mdscan -d mdapi-source/original-package --loglevel=trace
ERROR running isvte:mdscan:  Cannot read property 'split' of undefined

(worked before ;-)

The code was retrieved via

sfdx force:mdapi:retrieve -u $USER_ALIAS -r mdapi-source -w 10 -s
unzip ./mdapi-source/unpackaged.zip -d ./mdapi-source/original-package

The node version is v12.18.3

sfdx version
sfdx-cli/7.78.1-5a65d9dd2f darwin-x64 node-v12.18.3

sfdx plugins
@salesforce/lwc-dev-server 2.5.1
├─ @oclif/plugin-help 2.2.3
└─ @oclif/plugin-update 1.3.10
isvte-sfdx-plugin 1.1.7

Anything I can do to make it work?

jorgjanke commented 3 years ago

... still happens with v1.1.8

jorgjanke commented 3 years ago

the cause is not specifying the package name in sfdx force:mdapi:retrieve -p "DontForget"