问题
I have my project on github https://github.com/drkhannah/KMF
I pushed this MFP cli 7.1 project to github and had a team member clone it
After an npm install, I tried the 'mfp cordova preview' command, errors said this wasnt an mfp project, then I tried 'cordova platform add ios and android', then 'mfp cordova preview' worked, is this only because the platforms folder was in the .gitignore?
Also I had trouble adding an adapter, since I uploaded to github without adapters, the adapters folder was empty, so git didn't track it, not till I added an adapters folder in my mfp project folder(server) could I get 'mfp adapter add' to work, but now 'mfp push' deploy the adapter, it only deploys the cordova app
Why is this happening?
回答1:
I fixed this, I had to do mfp deploy from the mfp project folder, mfp push wasn't pushing the adapter, but mfp deploy did
来源:https://stackoverflow.com/questions/33652916/mfp-cli-7-1-adapter-wont-deploy-with-mfp-push-command