2

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?

Derek Hannah
  • 537
  • 7
  • 23
  • 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 – Derek Hannah Nov 11 '15 at 22:06
  • 2
    Please write this as an answer rather than a comment. Also feel free to open a PMR so that the development team will investigate why a deprecated command worked (mfp deploy) and not the command you are supposed to use (mfp push). – Idan Adar Nov 11 '15 at 22:15
  • Hi @DerekHannah, I also have problems runnung `mfp adapter add` in my cordova project. What did you do to resolve this? Thanks – yojoannn Oct 13 '16 at 10:40

1 Answers1

0

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

Derek Hannah
  • 537
  • 7
  • 23