MFP CLI 7.1适配器不会使用mfp push命令进行部署 [英] MFP CLI 7.1 adapter wont deploy with mfp push command

查看:107
本文介绍了MFP CLI 7.1适配器不会使用mfp push命令进行部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在github上有我的项目 https://github.com/drkhannah/KMF

I have my project on github https://github.com/drkhannah/KMF

我将这个MFP cli 7.1项目推送到github并让团队成员克隆它

I pushed this MFP cli 7.1 project to github and had a team member clone it

安装npm之后,我试过了'mfp cordova预览'命令,错误说这不是一个mfp项目,然后我尝试'cordova平台添加ios和android',然后'mfp cordova预览'工作,这只是因为平台文件夹在.gitignore?

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?

另外我在添加适配器时遇到了麻烦,因为我上传到没有适配器的github,适配器文件夹是空的,所以git没有跟踪它,直到我添加了适配器我的mfp项目文件夹(服务器)中的文件夹可以让'mfp adapter add'工作,但现在'mfp push'部署适配器,它只部署cordova应用程序

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?

推荐答案

我解决了这个问题,我不得不从mfp projec进行mfp部署t文件夹,mfp push没有推送适配器,但mfp deploy确实

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

这篇关于MFP CLI 7.1适配器不会使用mfp push命令进行部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆