IBM MobileFirst CLI 7.1 install fail on MacOS - ibm-mobilefirst

I just download IBM MobileFirst CLI 7.1 from http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/
I clicked install_mac to install but no happen, no install wizard appear. I try right click install_mac to Show Package Contents and click Contents/MacOS/install -> the install wizard appear, I canceled this installation.
Then I try click install_mac again, the install wizard appear, no problem util final step, it show message
The installation of IBM MobileFist Platform Command Line Interface is finished, but some warnings occured during the install. Please see the installation log for details.
In log tmp
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/doc/._node
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/._doc
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/IBMnode/share/man/man1/node.1
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/man/man1/._node.1
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/man/._man1
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/._man
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/IBMnode/share/systemtap/tapset/node.stp
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/systemtap/tapset/._node.stp
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/systemtap/._tapset
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/share/._systemtap
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/IBMnode/._share
Status: SUCCESSFUL
Install File:
/Applications/IBM/MobileFirst-CLI/__MACOSX/._IBMnode
Status: SUCCESSFUL
Expand Archive:
/Applications/IBM/MobileFirst-CLI/ibm_node_sdk_mac-x64.zip
Status: SUCCESSFUL
Expand Archive: /Applications/IBM/MobileFirst-CLI/null
Status: WARNING
Additional Notes: WARNING - Unknown archive type:
Could not find file to extract:
/private/var/folders/rx/vdt3_jjx39g12lv84xztr84w0000gp/T/AppTranslocation/EC71D510-6F45-4C9F-AC2D-C6E59BADE012/d/resources/mobilefirst-cli-7.1.0-install.zip
Install Directory: /Applications/IBM/MobileFirst-CLI/public/
Status: SUCCESSFUL
Copy File: Destination:
/Applications/IBM/MobileFirst-CLI/public/worklight-ant-builder.jar
Status: WARNING
Additional Notes: WARNING - Source /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools/worklight-ant-builder.jar
does not exist.
Copy File: Destination:
/Applications/IBM/MobileFirst-CLI/public/com.ibm.worklight.oauth.tai_1.0.0.jar
Status: WARNING
Additional Notes: WARNING - Source /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight/project/templates/project/externalServerLibraries/com.ibm.worklight.oauth.tai_1.0.0.jar
does not exist.
Copy File: Destination:
/Applications/IBM/MobileFirst-CLI/public/OAuthTai-1.0.mf
Status: WARNING
Additional Notes: WARNING - Source /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight/project/templates/project/externalServerLibraries/OAuthTai-1.0.mf
does not exist.
Copy File: Destination:
/Applications/IBM/MobileFirst-CLI/public/mfp-xs-loader.jar
Status: WARNING
Additional Notes: WARNING - Source /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight/project/templates/project/externalServerLibraries/mfp-xs-loader.jar
does not exist.
Copy Folder: Destination:
/Applications/IBM/MobileFirst-CLI/public/cordova/templates
Status: WARNING
Additional Notes: WARNING - There was a problem copying
/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/cordovacmd/cordova/templates/cordova-hello-world-mfp
Custom Action: com.ibm.lex.lap.ia.LAFiles_IA
Status: SUCCESSFUL
Install Directory:
/Applications/IBM/MobileFirst-CLI/Uninstaller/
Status: SUCCESSFUL
Install Uninstaller: IBM MobileFirst Platform Command Line
Interface(Install All Uninstaller Components)
Status: SUCCESSFUL
Create LaunchAnywhere: Create
Icon:/Applications/IBM/MobileFirst-CLI/Uninstaller//Uninstall.app
Status: SUCCESSFUL
Install Uninstaller: IBM MobileFirst Platform Command Line
Interface(Install All Uninstaller Components)
Status: SUCCESSFUL
More information
OS: MacOS High Sierra 10.3
jdk: javac 1.8.0_151
Please help.
Thanks

New CLI 7.1 just release by IBM to fix this problem
Thanks

Related

Dependabot failed to update your dependencies because there was an error parsing the package.json found at /package.json

I have the Dependabot GitHub action enabled in my React Native app's repository but for some reason, it won't automatically update. I have 2 dependencies that won't:
xmldon 0.5.0 and node-fetch 2.6.1
I keep getting this error when I try to Create Dependabot security update:
Dependabot failed to update your dependencies because there was an error parsing the package.json found at /package.json.
Dependabot encountered the following error:
Dependabot::DependencyFileNotParseable
Also, I shouldn't have to manually create a dependabot security updates since my github action should automate it, which looks like this:
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
# Maintain dependencies for Python files in requirements.txt
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
Route: my-app/.github/dependabot.yml
Am I missing something here? I enabled this the exact same way for my website, which is written in React.js, and it's working perfectly.

IBM Blockchain Platform extension npm Error

I'm tying to use this IBM extension on VSCode and it gives me this error whenever it tries to activate it. I already uninstalled and reinstalled both nodejs and npm.
Failed to activate extension: Failed to execute command "npm" with arguments
"rebuild, grpc, --target=3.0.0, --runtime=electron, --dist-url=https://atom.io/download/electron,
--update-binary, --fallback-to-build, --target_arch=x64" return code 1

Can't create React Native application using WebStorm

I want to create React Native Application using WebStorm. but some errors occurs while doing it.
/usr/local/bin/node /usr/local/lib/node_modules/react-native-cli/index.js init untitled
yes
prompt: Directory untitled already exists. Continue?: (no) yes
This will walk you through creating a new React Native project in /Users/sinamnouri/ReactNative/untitled
Using yarn v1.16.0
Installing react-native...
yarn add v1.16.0
error An unexpected error occurred: "EACCES: permission denied, scandir '/Users/sinamnouri/.config/yarn/link'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/sinamnouri/ReactNative/untitled/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Error: Command failed: yarn add react-native --exact
at checkExecSyncError (child_process.js:616:11)
at execSync (child_process.js:652:15)
at run (/usr/local/lib/node_modules/react-native-cli/index.js:294:5)
at createProject (/usr/local/lib/node_modules/react-native-cli/index.js:249:3)
at /usr/local/lib/node_modules/react-native-cli/index.js:217:7
at /usr/local/lib/node_modules/react-native-cli/node_modules/prompt/lib/prompt.js:316:32
at /usr/local/lib/node_modules/react-native-cli/node_modules/async/lib/async.js:142:25
at assembler (/usr/local/lib/node_modules/react-native-cli/node_modules/prompt/lib/prompt.js:313:9)
at /usr/local/lib/node_modules/react-native-cli/node_modules/prompt/lib/prompt.js:322:32
at /usr/local/lib/node_modules/react-native-cli/node_modules/prompt/lib/prompt.js:597:5 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 16730,
stdout: null,
stderr: null
}
Command `yarn add react-native --exact` failed.
Done
it looks like it's about permission, how can I handle permission in WebStorm.
You can't handle permissions in WebStorm (and this actually has nothing to do with the IDE). Such errors usually mean that the .config folder in your HOME is not owned by you, so you have no permissions to write to it. Check if your user (the one you run WebStorm with) has the right privileges in ~/.config, and give it the needed permissions ( sudo chown -R $USER:$GROUP ~/.config )

Error during "selenium-standalone install" command

Currently I am using the below commands for start the server (using Mocha framework) during second command am getting an error message. Please find the below and share your input
1. npm install selenium-standalone#latest -g
2. selenium-standalone install
3. selenium-standalone start
Error Log: During "selenium-standalone install"
firefox install:
from:
https://github.com/mozilla/geckodriver/releases/download/v0.13.0/geckodriv
er-v0.13.0-win64.zip to:
C:\Users\xxuser\AppData\Roaming\npm\node_modules\selenium-standalone.selen
ium\geckodriver\0.13.0-x64-geckodriver
C:\Users\xxuser\AppData\Roaming\npm\node_modules\selenium-standalone\bin\seleni
um-standalone:105
throw err;
^ Error: Could not download https://selenium-release.storage.googleapis.com/3.0/IE
DriverServer_x64_3.0.1.zip
at Request. (C:\Users\xxuser\AppData\Roaming\npm\node_modules\se
lenium-standalone\lib\install.js:273:21)
It is either an issue with google not having the file in the right place or selenium-standalone having the wrong url. If you go to https://github.com/mozilla/geckodriver/releases/download/v0.13.0/geckodriver-v0.13.0-win64.zip
it will download a zip file.
if you go to https://selenium-release.storage.googleapis.com/3.0/IE%20DriverServer_x64_3.0.1.zip
you get:
NoSuchKeyThe specified key does not exist.
The issue isn't firefox (gecko) driver it is internet explorer's driver.

Code signing is required for product type 'Command-line Tool' in SDK 'macOS 10.12'

Is this a bug when building from command-line with Xcode 8.2?
I'm seeing this when trying to build fbsimctl:
brew tap facebook/fb
brew install fbsimctl --HEAD
==> Installing fbsimctl from facebook/fb
==> Cloning https://github.com/facebook/FBSimulatorControl.git
Updating /Users/lnatan/Library/Caches/Homebrew/fbsimctl--git
==> Checking out branch master
==> ./build.sh fbsimctl build /usr/local/Cellar/fbsimctl/HEAD-244a622
Last 15 lines from /Users/lnatan/Library/Logs/Homebrew/fbsimctl/01.build.sh:
cd /tmp/fbsimctl-20170118-36571-pwc8nx/fbsimctl
/usr/bin/touch -c /tmp/fbsimctl-20170118-36571-pwc8nx/build/Build/Products/Debug/FBSimulatorControlKit.framework
=== BUILD TARGET fbsimctl OF PROJECT fbsimctl WITH CONFIGURATION Debug ≡
Check dependencies
"fbsimctl" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code signing is required for product type 'Command-line Tool' in SDK 'macOS 10.12'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/facebook/homebrew-fb/issues
Trying to build manually instead of using the script, I get a similar issue:
=== BUILD TARGET fbsimctl OF PROJECT fbsimctl WITH CONFIGURATION Release ===
Check dependencies
"fbsimctl" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code signing is required for product type 'Command-line Tool' in SDK 'macOS 10.12'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Interestingly, building from Xcode succeeds.
You need to run this with a env variable to disable code signing
export CODE_SIGNING_REQUIRED=NO && brew install fbsimctl --HEAD
It's from installation instructions.
This seems to have been solved in recent fbsimctl releases.