node-talib
node-talib copied to clipboard
Build issue Win 10: Fatal error LNK1181: cannot open input file '..\src\lib\lib\ta_libc_csr.lib'
Hello there! I am attempting to install the node-talib wrapper onto my Win 10, 64 bit computer. I am having a lot of trouble with installing this and I have scoured the web and could find no solution other than installing this in a UNIX environment.
I ensured that I completed the proper prerequisites.
This is how far the build gets when I run npm i talib
:
building talib functions...
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 7/20/2020 9:57:06 PM.
Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "csr|x64".
Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (2) on node 1 (default targets).
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj(151,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (default targets) -- FAILED.
Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (3) on node 1 (default targets).
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj(135,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in
the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (default targets) -- FAILED.Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (4) on node 1 (default targets).
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj(128,5): error MSB4019: The imported project
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the
path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (default targets) -- FAILED.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj]
Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (5) on node 1 (default targets).
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj(136,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in
the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (default targets) -- FAILED.Done Building Project "D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default targets) -- FAILED.
Build FAILED.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program
Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj]
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (default target) (2) ->
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj(151,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (default target) (3) ->
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj(135,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (default target) (4) ->
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj(128,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
"D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (default target) (5) ->
D:\Personal-Projects\Traders\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj(136,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargetsMicrosoft.CPP.UpgradeFromVC60.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
1 Warning(s)
4 Error(s)
Time Elapsed 00:00:00.29
(base) D:\Personal-Projects\Traders\node_modules\talib>if not defined npm_config_node_gyp (node "C:\Users\tvdar\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure ) else (node "C:\Users\tvdar\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" configure )
(base) D:\Personal-Projects\Traders\node_modules\talib>if not defined npm_config_node_gyp (node "C:\Users\tvdar\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build ) else (node "C:\Users\tvdar\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
talib.cpp
win_delay_load_hook.cc
..\src\talib.cpp(85): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\Personal-Projects\Traders\node_modules\talib\build\talib.vcxproj]
D:\Personal-Projects\Traders\node_modules\nan\nan.h(1742): note: see declaration of 'Nan::Callback::Call'
..\src\talib.cpp(95): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\Personal-Projects\Traders\node_modules\talib\build\talib.vcxproj]
D:\Personal-Projects\Traders\node_modules\nan\nan.h(1742): note: see declaration of 'Nan::Callback::Call'
..\src\talib.cpp(546): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\Personal-Projects\Traders\node_modules\talib\build\talib.vcxproj]
D:\Personal-Projects\Traders\node_modules\nan\nan.h(1742): note: see declaration of 'Nan::Callback::Call'
LINK : fatal error LNK1181: cannot open input file '..\src\lib\lib\ta_libc_csr.lib' [D:\Personal-Projects\Traders\node_modules\talib\build\talib.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\tvdar\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\tvdar\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd D:\Personal-Projects\Traders\node_modules\talib
gyp ERR! node -v v14.5.0
gyp ERR! node-gyp -v v7.0.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./src/lib/build.js && node-gyp configure && node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tvdar\AppData\Roaming\npm-cache\_logs\2020-07-21T01_57_11_479Z-debug.log
If anyone can help me fix this issue, I'd really appreciate it. Thank you so much.
谁点赞的,解决了吗?
Just make sure you downlaod Windows Build tools 2015 version and then try again. You can download this manually from here https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads.
Hi Guys!
I try to install in my Win 2010 or Win2010 with Ubuntu-22.04 WSL, but i have this problems:
In my Win2010 i have:
npm i talib
npm ERR! code 1
npm ERR! path D:\dev\mybot\node_modules\talib
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./src/lib/build.js && node-gyp configure && node-gyp build
npm ERR! building talib functions...
npm ERR! Microsoft (R) Build Engine version 14.0.23107.0
npm ERR! Copyright (C) Microsoft Corporation. All rights reserved.
npm ERR!
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR! Build started 09/10/2023 03:08:12.
npm ERR! Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" on node 1 (default targets).
npm ERR! ValidateSolutionConfiguration:
npm ERR! Building solution configuration "csr|x64".
npm ERR! Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (2) on node 1 (default targets).
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj(49,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR! Done Building Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (default targets) -- FAILED.
npm ERR! Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (3) on node 1 (default targets).
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj(49,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR! Done Building Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (default targets) -- FAILED.
npm ERR! Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (4) on node 1 (default targets).
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj(50,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR! Done Building Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (default targets) -- FAILED.
npm ERR! Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (1) is building "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (5) on node 1 (default targets).
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj(50,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR! Done Building Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (default targets) -- FAILED.
npm ERR! Done Building Project "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default targets) -- FAILED.
npm ERR!
npm ERR! Build FAILED.
npm ERR!
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj" (default target) (2) ->
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_common\ta_common.vcxproj(49,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR!
npm ERR!
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj" (default target) (3) ->
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_func\ta_func.vcxproj(49,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR!
npm ERR!
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj" (default target) (4) ->
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_abstract\ta_abstract.vcxproj(50,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR!
npm ERR!
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_lib.sln" (default target) (1) ->
npm ERR! "D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj" (default target) (5) ->
npm ERR! D:\dev\mybot\node_modules\talib\src\lib\make\csr\windows\msbuild\ta_libc\ta_libc.vcxproj(50,3): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
npm ERR!
npm ERR! 0 Warning(s)
npm ERR! 4 Error(s)
npm ERR!
npm ERR! Time Elapsed 00:00:00.17
npm ERR!
npm ERR! Compilando os projetos desta solu��o um por vez. Para habilitar o build paralelo, adicione a op��o "-m".
npm ERR! talib.cpp
npm ERR! D:\dev\mybot\node_modules\talib\src\talib.cpp(85,13): warning C4996: 'Nan::Callback::Call': foi declarado preterido [D:\dev\mybot\node_modules\talib\build\talib.vcxproj]
npm ERR! D:\dev\mybot\node_modules\talib\src\talib.cpp(95,13): warning C4996: 'Nan::Callback::Call': foi declarado preterido [D:\dev\mybot\node_modules\talib\build\talib.vcxproj]
npm ERR! D:\dev\mybot\node_modules\talib\src\talib.cpp(546,13): warning C4996: 'Nan::Callback::Call': foi declarado preterido [D:\dev\mybot\node_modules\talib\build\talib.vcxproj]
npm ERR! win_delay_load_hook.cc
npm ERR! LINK : fatal error LNK1181: n�o foi poss�vel abrir o arquivo de entrada '..\src\lib\lib\ta_libc_csr.lib' [D:\dev\mybot\node_modules\talib\build\talib.vcxproj]
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.10.0 found at "C:\Users\Alan Gustavo\AppData\Local\Programs\Python\Python310\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.34031.81) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Users\Alan Gustavo\AppData\Local\Programs\Python\Python310\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Users\Alan Gustavo\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\dev\mybot\node_modules\talib\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Alan Gustavo\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Alan Gustavo\AppData\Local\node-gyp\Cache\18.18.0\include\node\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\Alan Gustavo\AppData\Local\node-gyp\Cache\18.18.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Users\Alan Gustavo\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Alan Gustavo\\AppData\\Local\\node-gyp\\Cache\\18.18.0\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\dev\mybot\node_modules\talib',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'D:\dev\mybot\node_modules\talib\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\Users\Alan Gustavo\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19045
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Alan Gustavo\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build"
npm ERR! gyp ERR! cwd D:\dev\mybot\node_modules\talib
npm ERR! gyp ERR! node -v v18.18.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
In my Win 2010 WSL Ubuntu-22.04...
npm install talib npm ERR! code 1 npm ERR! path \wsl.localhost\Ubuntu-22.04\home\alangustavo\mybot\node_modules\talib npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./src/lib/build.js && node-gyp configure && node-gyp build npm ERR! '\wsl.localhost\Ubuntu-22.04\home\alangustavo\mybot\node_modules\talib' npm ERR! CMD.EXE foi iniciado tendo o caminho acima como pasta atual. npm ERR! N�o h� suporte para caminhos UNC. Padronizando para pasta do Windows. npm ERR! node:internal/modules/cjs/loader:1080 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'C:\Windows\src\lib\build.js' npm ERR! at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) npm ERR! at Module._load (node:internal/modules/cjs/loader:922:27) npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) npm ERR! at node:internal/main/run_main_module:23:47 { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [] npm ERR! } npm ERR! npm ERR! Node.js v18.18.0