Questions tagged [mobilefirst-cli]

The IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) command-line interface (CLI) tool allows to easily create and manage both native and hybrid apps.

IBM MobileFirst Platform Foundation (formerly IBM Worklight Foundation) provides command-line tools as an alternative to the integrated development environment (IDE) of MobileFirst Studio.

To help developers get a better tools experience, IBM MobileFirst Platform Foundation provides a command-line interface (CLI) tool to easily create and manage both native and hybrid apps. The CLI enables developers to use their preferred text editors or alternative IDEs to create mobile applications.

143 questions
5
votes
3 answers

Installing mfpdev-cli via NPM causes error

When installing mfpdev-cli via npm I'm receiving the following error: $ npm install -g mfpdev-cli@latest npm ERR! addLocal Could not install /usr/local/lib/node_modules/mdo-adapter-actions npm ERR! addLocal Could not install…
John Gerken
  • 686
  • 6
  • 13
4
votes
1 answer

How to remove an environment from the project?

Is it possible to remove a mobile environment from the project like say Blackberry and Adobe Air environments. For instance mobilefirst add environment helps to add environment, but is there a command to remove an environment?
Futur
  • 8,444
  • 5
  • 28
  • 34
2
votes
2 answers

IBM MFP How can I use mfpdev-cli upload (deploy) the .adapter?

How can I use mfpdev-cli upload (deploy) the .adapter? I need upload the .zip and .adapter in my MFP project when I call (in root folder) mfpdev app webupdate --build and I will get projecet.zip in MobileFirst folder then, I call (not in root…
2
votes
1 answer

mfp cordova : Implementation for this cordova subcommand has failed or not been provided: undefined

Just downloaded the latest build of mobile first 7.1 cli (Version - 7.1.0.00.20170710-0611) and finished installing in my Mac OS - Sierra 10.12.5 mfp cordova mfp cordova platform list -d
prash
  • 65
  • 1
  • 10
2
votes
1 answer

Submit to App Store issues: Unsupported Architecture x86_64,i386 (IBMMobileFirstPlatformFoundation.framework) +IONIC 2 + IBM MFP 8.0

I'm getting these error when upload to appstore. I had added the IBMMobileFirstPlatformFoundation.framework in Targets => General => Embedded Binaries. (By default it is there in Linked Framework and Libraries) If I remove…
Roney Francis
  • 356
  • 2
  • 15
2
votes
3 answers

MobileFirst 8.0 Cordova CLI Interface not found in app preview (MAC)

I have successfully started the server, registered the app and deployed all adapters. However, whenever I call the command: mfpdev app preview The CLI is responding with the following message: [BS] Serving files from: ./platforms Error: The…
2
votes
1 answer

MFP CLI 7.1 adapter wont deploy with mfp push command

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…
Derek Hannah
  • 537
  • 7
  • 23
2
votes
1 answer

MFP CLI cannot build-deploy project initially created with MFP Studio

Problem Context: We initially created a MFP hybrid project with the iOS environment using MFP Studio plugin for Eclipse. We have this project under source control (Git on DevOps). Some team members in our team are doing iOS development for this…
2
votes
1 answer

MobileFirst CLI - edit/build/test cycle

One thing I really like about the later version of Worklight/MobileFirst Studio is the faster edit/test cycle when working in the Mobile Browser Simulator: just edit, save, click Go/Refresh; no need to build/deploy. When using CLI…
djna
  • 54,992
  • 14
  • 74
  • 117
2
votes
3 answers

IBM MobileFirst: using external jar files during command line build

We are trying to use a org.JSON.JSONObject library for some intense json processing in the adapter side. We have Java classes which processes the data received from http adapters. mobilefirst 6.3.0 and using cli 20150701 build (the recent…
Futur
  • 8,444
  • 5
  • 28
  • 34
2
votes
2 answers

IBM Mobilefirst CLI - Server start issue

I recently installed IBM MobileFirst CLI on my Mac, but I don't seem to be able to start the Server. See error below. I searched the internet and found that there is a bug in JDK which causes the JavaLaunchHelper error. I downloaded the beta version…
Imaya Kumar
  • 323
  • 3
  • 18
1
vote
0 answers

MFP 8.0 - Intermittent invalid_scope error after login

We have configured MFP OAuth Authentication and enabled single user session on server. Currently we are getting intermittent invalid_scope error on next adapter request after successful login. MFP Server version - 8.0.0.00-20181004-0631 MFP Cli…
1
vote
0 answers

IBM Mobile Migration : Worklight 6.2 to 8.0

I am migrating IBM Worklight 6.2 application to IBM MobileFirst 8.0 using below guide https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/upgrading/migration-cookbook/ I migrated the source code but when try to migrate adapters I…
1
vote
2 answers

not register ionic application on mobilefirst to use

In mobile first tutorial, one step is mfpdev app register Question is what is the use of the registration as I develop an ionic project and can connect to mobile first without registration when Cordova web resources Previewed with the Mobile…
user3042713
  • 175
  • 2
  • 12
1
vote
2 answers

MFP 8.0 SECURITY_CHECK_NOT_FOUND

I had configured my security adapter. I had mentioned the security check name in my app side also. This is MFP server version: 8.0.0.00-20160822-2140 MFPdev_CLI version: 8.0.0-2017102406 (It was working long day back. is there any problem with my…
1
2 3
9 10