Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on Windows 10 #38

Open
prrw opened this issue Apr 29, 2020 · 0 comments
Open

Cannot build on Windows 10 #38

prrw opened this issue Apr 29, 2020 · 0 comments

Comments

@prrw
Copy link

prrw commented Apr 29, 2020

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: [email protected] (node_modules\fs-ext):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\snappy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild --install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\zmq):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
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!     D:\pkrawal\AppData\Roaming\npm-cache\_logs\2020-04-29T12_18_24_145Z-debug.log

Where is the problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant