【问题标题】:IBM APIC Developer Toolkit Installation error on Windows 10Windows 10 上的 IBM APIC Developer Toolkit 安装错误
【发布时间】:2016-10-10 20:49:02
【问题描述】:

尝试在我的 PC 上更新 APIC 开发者工具包时,在 Windows 10 上出现 IBM APIC 开发者工具包安装错误。

  1. 以管理员身份使用命令提示符

npm 版本 -3.10.7
节点版本 - 4.6.0

  1. 我已按照要求安装了 MS Visual Studio 2013 社区版和 Python 2.7

  2. 我收到以下内存错误-

    > spawn-sync@1.0.15 postinstall C:\Users\arindch.WIPRO\AppData\Roaming\npm\node_modules\apiconnect\node_modules\apiconnect-cli-loopback\node_modules\generator-loopback\node_modules\yeoman-generator\node_modules\yeoman-environment\node_modules\inquirer\node_modules\external-editor\node_modules\spawn-sync
    > node postinstall
    
    [                ..] \ postinstall: info lifecycle spawn-sync@1.0.15~postinstall: Failed to exec postinstall script
    <--- Last few GCs --->
    
     1140330 ms: Scavenge 1387.3 (1458.0) -> 1387.3 (1458.0) MB, 29.0 / 0 ms (+ 0.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
     1141330 ms: Mark-sweep 1387.3 (1458.0) -> 1384.3 (1458.0) MB, 1006.0 / 0 ms (+ 0.0 ms in 1 steps since start of marking, biggest step 0.0 ms) [last resort gc].
     1142315 ms: Mark-sweep 1384.3 (1458.0) -> 1383.0 (1458.0) MB, 973.9 / 16 ms [last resort gc].
    
    
    <--- JS stacktrace --->
    
    ==== JS stack trace =========================================
    
    Security context: 00000181FB4B4639 <JS Object>
        1: rimraf_(aka rimraf_) [C:\Users\arindch.WIPRO\AppData\Roaming   \npm\node_modules\npm\node_modules\rimraf\rimraf.js:~127] [pc=000002834BA761C7] (this=00000181FB4041B9 <undefined>,p=00000324344B83D9 <String[170]: C:\Users\arindch.WIPRO\AppData\Roaming\npm\node_modules\apiconnect\node_modules\apiconnect-cli-devapps\node_modules\apiconnect-apim-client\node_modules\lodash\_overArg.js>,options=...
    
    FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
    

【问题讨论】:

  • @KamaganahallyJaganatha 我不确定你在问什么。能详细点吗?
  • 对于之前不完整的更新,我深表歉意。这是您第一次尝试安装 API Connect 吗?您是否按照 IBM API Connect 5.0 知识中心中的安装说明进行操作? ibm.com/support/knowledgecenter/SSMNED_5.0.0/…如果你认为你已经完成了所有的步骤,能否请你提供日志~/.apiconnect/apic.log?
  • 不...我以前安装过它。我只是想将安装升级到最新版本。我会尽快附上日志
  • 在我之前的评论中,我提供了安装说明的链接,并且同一页面有更新您的工具包安装部分。请按照该部分中的说明进行操作,它应该可以工作。
  • 我已遵循所有这些说明

标签: apiconnect


【解决方案1】:

您是从 npmjs.org 安装的吗? 您能否重试安装 --no-optional --ignore-script 作为 v5040 的临时解决方法,看看是否有帮助? 确保你 npm 缓存清理 这通常不是必需的,在未来的版本中也绝对不会。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-11
    • 2020-08-28
    • 2018-04-10
    • 2018-12-29
    相关资源
    最近更新 更多