【问题标题】:Worklight CLI not starting in mac Giving ErrorWorklight CLI 未在 mac 中启动 Giving Error
【发布时间】: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


【解决方案1】:

报告为“找不到”的文件是与可安装文件一起打包的文件。您可以参考此处的信息交叉检查您下载的内容和安装步骤 https://developer.ibm.com/mobilefirstplatform/install/#clui

【讨论】:

    【解决方案2】:

    当您从 IBM 站点下载 CLI Zip 时,我遇到了同样的问题。首先你需要Extract all 而不是Run

    喜欢这张照片

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-02
      • 2022-12-27
      • 1970-01-01
      • 2019-10-22
      • 2014-09-04
      • 1970-01-01
      相关资源
      最近更新 更多