I don't know the exactly error, but I'm manual and it work - Change resources.ts in /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/mfp_cordova_cmds/lib -> line 71
if (project && project2 && project3 && project4 && path.dirname(project) === path.dirname(project2) &&
if get error with MFP_CORDOVA_PATH not set -> vim ~/.bash_profile
export IBM_CLI_HOME=/Applications/IBM/MobileFirst-CLI
export MFP_CORDOVA_PATH=$IBM_CLI_HOME/mobilefirst-cli/node_modules/cordovacmd/cordova
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$MFP_CORDOVA_PATH
-> source ~/.bash_profile to apply change, you can command 'echo $MFP_CORDOVA_PATH' to check
Try mfp cordova create again
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.