编译npm安装时,D4024后跟LNK1181

时间:2017-12-03 09:51:35

标签: javascript node.js visual-c++

自从我上次修改我的Discord.js僵尸程序已经有一个月左右了,而且最近我正在推动对机器人的更新,因此无法找到指定的音乐模块会引发错误。我决定卸载并重新安装所述模块,我收到D4024致命错误,然后是LNK1181。这是它的样子:

C:\TankieBot Dummy\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Users\Spades Hiroki\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_mo
dules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
  Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

  cl /


CL : Command line warning D4024: unrecognized source file type '/', object file assumed [C:\TankieBot Dummy\node_modules\ref\build\binding.vcxproj]
  Microsoft (R) Incremental Linker Version 14.00.24210.0
  Copyright (C) Microsoft Corporation.  All rights reserved.

  /out:.exe
  /
LINK : fatal error LNK1181: cannot open input file '/.obj' [C:\TankieBot Dummy\node_modules\ref\build\binding.vcxproj]

甚至更多,我完全不知道出了什么问题:

C:\TankieBot Dummy\node_modules\node-opus>if not defined npm_config_node_gyp (node "C:\Users\Spades Hiroki\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\n
ode_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
  Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

  cl /

     p

     _

     .

     l

     o


CL : Command line warning D4024: unrecognized source file type '/', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
CL : Command line warning D4024: unrecognized source file type 'p', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
CL : Command line warning D4024: unrecognized source file type '_', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
CL : Command line warning D4024: unrecognized source file type '.', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
CL : Command line warning D4024: unrecognized source file type 'l', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
CL : Command line warning D4024: unrecognized source file type 'o', object file assumed [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]
  Microsoft (R) Incremental Linker Version 14.00.24210.0
  Copyright (C) Microsoft Corporation.  All rights reserved.

  /out:.exe
  /
  p
  _
  .
  l
  o
LINK : fatal error LNK1181: cannot open input file '/.obj' [C:\TankieBot Dummy\node_modules\node-opus\build\deps\libopus.vcxproj]

考虑到几个月以前没有这样的问题,这很奇怪,它刚刚完全没有理由突然出现。我已经尝试重新安装VC ++ 2015 Build Tools,它仍然保留了相同的问题。复制CL.exe以及C1.dll和C2.dll给我带来零运气,它只是弹出error MSB6006: "CL.exe" exited with code -1073741701

上个月推送更新后我记得的唯一一件事就是安装了Unity和Blender,虽然我不太确定这是不是实际上做了偷偷摸摸的事情。

感谢任何类型的指南。

0 个答案:

没有答案