Closed
Description
Hi, I have no idea if I made some mistake. But I cannot rebuild nan with electron 3.0.10 (with node 10.2.0).
With command below to rebuild:
node-gyp rebuild --target=3.0.10 --arch=x64 --dist-url=https://atom.io/download/electron
The raw error I got is
C:\Users\...\node_modules\nan\nan.h(1081): error C2660: 'v8::String
::WriteUtf8': function does not take 5 arguments (compiling source file ..\src\combined.cpp) [C:\...\xxx.vcxproj]
I find that the latest nan will call WriteUtf8
with 5 arguments if node version is larger than 10
However, WriteUtf8
only accepts 4 arguments in node 10
Any ideas? Thanks.
Metadata
Metadata
Assignees
Labels
No labels