Skip to content

Cannot build on Windows 10 #38

Description

@prrw

Hello,
i tried to follow the instructions and install it on windows 10 pc using windows-build-tools vs2017 and get the following error.

..\src\ftdi_device.cc(783): error C2661: "v8::Value::ToInt32": Keine überladene Funktion akzeptiert 0 Argumente [D:\pkr
awal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(783): error C2227: Links von "->Int32Value" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/ge
nerischen Typ befinden. [D:\pkrawal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(787): error C2661: "v8::Value::ToInt32": Keine überladene Funktion akzeptiert 0 Argumente [D:\pkr
awal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(787): error C2227: Links von "->Int32Value" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/ge
nerischen Typ befinden. [D:\pkrawal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(791): error C2661: "v8::Value::ToInt32": Keine überladene Funktion akzeptiert 0 Argumente [D:\pkr
awal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(791): error C2227: Links von "->Int32Value" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/ge
nerischen Typ befinden. [D:\pkrawal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(814): error C2661: "v8::Value::ToInt32": Keine überladene Funktion akzeptiert 0 Argumente [D:\pkr
awal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(814): error C2227: Links von "->Int32Value" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/ge
nerischen Typ befinden. [D:\pkrawal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(822): error C2661: "v8::Value::ToInt32": Keine überladene Funktion akzeptiert 0 Argumente [D:\pkr
awal\node_modules\ftdi\build\ftdi.vcxproj]
..\src\ftdi_device.cc(822): error C2227: Links von "->Int32Value" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/ge
nerischen Typ befinden. [D:\pkrawal\node_modules\ftdi\build\ftdi.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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\pkrawal\node_modules\ftdi
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'D:\pkrawal\package.json'
npm WARN pkrawal No description
npm WARN pkrawal No repository field.
npm WARN pkrawal No README data
npm WARN pkrawal No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 (node_modules\fs-ext):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 (node_modules\snappy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 (node_modules\leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 install: `prebuild --install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 (node_modules\zmq):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ftdi@1.2.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ftdi@1.2.3 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!     D:\pkrawal\AppData\Roaming\npm-cache\_logs\2020-04-29T12_18_24_145Z-debug.log

Where is the problem ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions