【发布时间】:2016-01-14 12:22:09
【问题描述】:
先安装 Mobile CLI 7.0.0.0
当我尝试打开mfp cli 时出现以下错误
坏掉的cli,但我猜 IBM Fix central 中可用的任何修复 我试图搜索但无法找到解决此问题的方法
module.js:340 抛出错误; ^ 错误:找不到模块“/Applications/IBM/MobileFirst-CLI/mobilefirst-cli/bin/mobilefirst-cli.js” 在 Function.Module._resolveFilename (module.js:338:15) 在 Function.Module._load (module.js:280:25) 在 Function.Module.runMain (module.js:497:10) 启动时 (node.js:119:16) 在 node.js:906:3
【问题讨论】:
-
您下载的 CLI 的确切内部版本号是多少?
-
你从哪里下载的?
-
从 IBM 网站本身下载
-
我可能来不及回答,但我看到 mobilefirst-cli.js 在预期位置丢失。
1. when you unzip, you will see a resources folder and if you look into it, there is another zip file. Unzip the file. in my case mobilefirst-cli-7.1.0-install.zip 2. Copy this directory called mobilefirst-cli. 3. Go to /Applications/IBM/MobileFirst-CLI and paste your directory. You will see the missing mobilefirst-cli.js will be there. I think the mac installer is not extracting the files at the right location.
标签: ibm-mobilefirst worklight-server mobilefirst-server mobilefirst-cli worklight-cli