2016-10-10 133 views
0

尝试更新PC上的APIC Developer工具包时,在Windows 10上的IBM APIC Developer Toolkit安装错误中出现错误。Windows上的IBM APIC开发人员工具包安装错误

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

NPM版本-3.10.7
节点版本 - 4.6.0

  • 我安装了MS Visual Studio 2013社区版和Python 2.7,按照建议的要求

  • 我收到以下的内存错误 -

    > [email protected] 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 [email protected]~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 
    
  • +0

    @KamaganahallyJaganatha我不确定你在问什么。你能否详细说明一下? –

    +0

    我对之前的不完整更新表示歉意。这是您第一次尝试安装API Connect吗?您是否遵循IBM API Connect 5.0知识中心的安装指导? https://www.ibm.com/support/knowledgecenter/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/tapim_cli_install.html如果您认为您已完成所有步骤,请提供日志〜/ .apiconnect/apic.log? –

    +0

    不,我已经安装了它。我只是想将安装升级到最新版本。我将很快附上日志 –

    回答

    1

    你从npmjs.org安装? 您可以请重试安装 - 无可选--ignore脚本作为v5040临时解决方法,看看是否有帮助? 确保你的npm缓存清洁 这通常不是必需的,绝对不在将来的版本中。

    相关问题