MFP CLI 7.1 adapter wont deploy with mfp push command

北战南征 提交于 2019-12-23 23:30:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!