Windows 10上的IBM APIC Developer Toolkit安装错误

时间:2016-10-10 20:49:02

标签: apiconnect

在尝试更新PC上的APIC Developer工具包时,在Windows 10上获取IBM APIC Developer Toolkit安装错误。

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

    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
      

1 个答案:

答案 0 :(得分:1)

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