p5.js-website
p5.js-website copied to clipboard
What's the correct data structure of the translation of class?
I'm trying to translate the p5.Vector into Chinese. But it seem that there isn't any translated class before. There are a lot of Fields and Methods below, where should I put these items?
By the way, I can not compile the website correctly. When I use npm i, it threw so many error . I don't know what just happened.

But I think it's not matter. I just do some translation.
The translation entries for the overall p5.Vector class has not been added to the translation json file. If you like you can look into adding it. Otherwise there are some untranslated entries in the reference translation json you can still work on.
Ideally you should be building the website completely, both to preview the changes and to make sure any automated changes are created by the build and committed. Can you post the errors you get when running npm i here?
The translation entries for the overall
p5.Vectorclass has not been added to the translation json file. If you like you can look into adding it. Otherwise there are some untranslated entries in the reference translation json you can still work on.Ideally you should be building the website completely, both to preview the changes and to make sure any automated changes are created by the build and committed. Can you post the errors you get when running
npm ihere?
It just say command not found in '\node_modules.bin'
❯ npm i
(node:8488) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.\p5&ml5\translate\p5.js-website\node_
> [email protected] install C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb
> detect-libc prebuild-install || node-gyp rebuild
'ml5\translate\p5.js-website\node_modules\.bin\' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
internal/modules/cjs/loader.js:985
throw err;
^
Error: Cannot find module 'C:\Users\Drafc\workspace\graphicprograming\detect-libc\bin\detect-libc.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb>if not defined npm_config_node_gyp (node "C:\Users\Drafc\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Drafc\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
dictionary.c
bit_reader.c
decode.c
backward_references_hq.c
bit_cost.c
block_splitter.c
brotli_bit_stream.c
cluster.c
compress_fragment.c
compress_fragment_two_pass.c
dictionary_hash.c
encode.c
entropy_encode.c
histogram.c
literal_cost.c
memory.c
metablock.c
static_dict.c
utf8_util.c
allocator.cc
stream_coder.cc
stream_decode.cc
stream_decode_worker.cc
stream_encode.cc
stream_encode_worker.cc
iltorb.cc
win_delay_load_hook.cc
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)c:\users\dr
afc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc) [C:\Users\Drafc\
workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc) [C:\Users\Dra
fc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\
node\v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc)c:\users\dr
afc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\wo
rkspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspace\gra
phicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\
v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明
(编译源文件 ..\src\
dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc) [C
:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\
users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\gr
aphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspace\graphicpro
graming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)c:\users
\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8
.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::Fu
nctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace\graphicprogramin
g\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5
.js-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modul
es\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::FunctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType
)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\worksp
ace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::FunctionCallback,v8::Lo
cal<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.
js-website\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\
node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\n
ode_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::FunctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideE
ffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\dec\stream_decode_worker.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2663): note: 参见“v8::Value::ToBoolean”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-w
ebsite\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc
\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\enc\stream_encode_worker.c
c) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::Fu
nctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\common\stream_coder.cc) [C:\Users\Drafc\workspace\graphicprogra
ming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\work
space\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\gr
aphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::FunctionCallback,v8::Local<
v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2701): note: 参见“v8::Value::BooleanValue”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.j
s-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\dec\stream_decode_worker.c
c) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\dec\stream_decode.cc) [C:\
Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\enc\stream_encode_worker.cc) [C:\Users\Drafc\workspace
\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace\graphic
programing\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\dec\stream_decode_worker.cc) [C:\Users\Drafc\workspace
\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspace\graphi
cprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: “v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>,v8::Fu
nctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)”: 无法将参数 1 从“v8::Isolate *”转换为“v8::Local<v8::Context>” (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(105): note: 无构造函数可以接受源类型,或构造函数重载决策不明确 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\common\stream_coder.cc) [C
:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc
\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\common\stream_coder.cc) [C:\Users\Drafc\workspace\grap
hicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming
\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: “v8::StringObject::New”: 函数不接受 1 个参数 (编译源文件 ..\src\enc\stream_encode.cc) [C:\
Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(5531): note: 参见“v8::StringObject::New”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\dec\stream_decode_worker.cc) [C:\Users\Drafc\w
orkspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: 语法错误:“)” (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphi
cprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\dec\stream_decode_worker.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\dec\stream_decode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspac
e\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\enc\stream_encode_worker.cc) [C:\Users\Drafc\w
orkspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace
\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\enc\stream_encode_worker.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\common\stream_coder.cc) [C:\Users\Drafc\worksp
ace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\common\stream_coder.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicpr
ograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换
为“v8::Is
olate *” (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1034): error C2661: “v8::Value::ToString”: 没有重载函数接受 0 个参数 (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspac
e\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\gr
aphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p
5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h
(1044): error C2664: “int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const”: 无法将参数 1 从“char *”转换为“v8::Isolate *” (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\
translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\
v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1044): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\workspace\gr
aphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\tran
slate\p5.js-website\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\n
an\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\
v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode
_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphic
programing\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.j
s-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming\
p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\workspace\gr
aphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate
\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(35
07): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode_worker
.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(
3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明
为已否决 (编译源文件
..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.c
c)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graph
icprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc) [C:\Users\Drafc\workspace\
graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website
\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\
v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文
件 ..\src\common\str
eam_coder.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(35
53): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': 被声明为已否
决 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphic
programing\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate
\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modul
es\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3498): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modu
les\nan\nan.h(1842): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphic
programing\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(355
3): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\dec\stream_decode.
cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\
v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': 被声明为已否决 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming\
p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\loca
l\node-gyp\cache\12.16.1\include\node\v8.h(3507): note: 参见“v8::Object::Set”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1842): warning
C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get': 被
声明为已否决 (编译源文件 ..\src\common\allocator.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicpr
ograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-
website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Ge
t”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\iltorb.cc) [C:\Users\Drafc\workspace\graphicprograming\
p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\dec\stream_decode.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(35
53): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\
workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js
-website\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(
3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get
': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get': 被声明为已否决 (编
译源文件 ..\src\iltorb.
cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5
.js-website\node_modules\nan\nan.h(1847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的成员
[C:
\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3553): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modu
les\nan\nan.h(1847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\appdata\local
\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1
847): warning C4996: 'v8::Object::Get': 被声明为已否决 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1847): warning C4996:
'v8::Object
::Get': 被声明为已否决 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v
8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<
v8::Object,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\works
pace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(3557): note: 参见“v8::Object::Get”的声明 (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\dec\stream_de
code.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\enc\s
tream_encode_worker.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprogramin
g\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\appdata\l
ocal\node-gyp\cache\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的成
员 [C
:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\dec\stream_decode
_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTrai
ts<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的成员
[C:
\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
with
[
T=v8::Object
] (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::O
bject,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Obje
ct,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(24): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Obj
ect,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Ob
ject,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersis
tentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode_worker.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersis
tentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTra
its<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTrai
ts<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\iltorb.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(14): error C2661: “v8::Value::ToObject”: 没有重载函数接受 0 个参数c:\users\drafc\workspace\graphicprogramin
g\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明 [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\n
ode_modules\iltorb\build\iltorb.vcxproj]
with
[
T=v8::Object
] (编译源文件 ..\src\dec\stream_decode_worker.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\iltorb.cc)c:\
users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\enc\stream_encod
e.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文件 ..\src\common\a
llocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': 被声明为已否决 (编译源文
件 ..\src\c
ommon\stream_coder.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(40): error C2661: “v8::Value::ToObject”: 没有重载函数接受 0 个参数c:\users\drafc\appdata\local\node-gyp\cac
he\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\enc\stream_encode.cc) [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_mod
ules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\iltorb.cc)c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\
include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(566): note: 参见“v8::PersistentBase<v8::Object>::MarkIndependent”的声明 (编译源文件 ..\src\common\stream_coder.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(40): error C2512: “StreamDecode::StreamDecode”: 没有合适的默认构造函数可用 [C:\Users\Drafc\workspace\graphicp
rograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的成
员 [C
:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Ob
ject,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\common\allocator.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Obj
ect,v8::NonCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan_object_wrap.h(124): error C2039: “IsNearDeath”: 不是“Nan::Persistent<v8::Object,v8::No
nCopyablePersistentTraits<T>>”的成员
with
[
T=v8::Object
] (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(48): error C2661: “v8::Value::ToObject”: 没
有重载函数
接受 0 个参数
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\common\allocator.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\enc\stream_encode.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTra
its<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\iltorb.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1859): note: 参见“Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>”的声明
with
[
T=v8::Object
] (编译源文件 ..\src\common\stream_coder.cc)c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(54): error C2661: “v8::Value::BooleanValue”: 没有
重载函数接受 0 个参数
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode_worker.cc(46): warning C4996: 'Nan::Callback::Call': 被声明为已否决c:\users\drafc\workspace\graphicprogram
ing\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode_worker.cc(47): warning C4996: 'Nan::Callback::Call': 被声明为已否决 [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\no
de_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode.cc(70): error C2661: “v8::Value::BooleanValue”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicpro
graming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1618): note: 参见“Nan::Callback::Call”的声明c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\nod
e_modules\nan\nan.h(1618): note: 参见“Nan::Callback::Call”的声明
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\dec\stream_decode_worker.cc(52): warning C4996: 'Nan::Callback::Call': 被声明为已否决 [C:\Users\Drafc\workspace\graphicprogr
aming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1618): note: 参见“Nan::Callback::Call”的声明
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\common\allocator.cc(35): warning C4146: 一元负运算符应用于无符号类型,结果仍为无符号类型 [C:\Users\Drafc\workspace\graphicprograming\p5&ml5\t
ranslate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode_worker.cc(53): warning C4996: 'Nan::Callback::Call': 被声明为已否决 [C:\Users\Drafc\workspace\graphicprogr
aming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\nan\nan.h(1618): note: 参见“Nan::Callback::Call”的声明
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(14): error C2660: “v8::Value::Int32Value”: 函数不接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2709): note: 参见“v8::Value::Int32Value”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(20): error C2660: “v8::Value::Int32Value”: 函数不接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2709): note: 参见“v8::Value::Int32Value”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(26): error C2660: “v8::Value::Int32Value”: 函数不接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2709): note: 参见“v8::Value::Int32Value”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(32): error C2660: “v8::Value::Int32Value”: 函数不接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2709): note: 参见“v8::Value::Int32Value”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(38): error C2661: “v8::Value::BooleanValue”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicpro
graming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(44): error C2660: “v8::Value::Int32Value”: 函数不接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogrami
ng\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\appdata\local\node-gyp\cache\12.16.1\include\node\v8.h(2709): note: 参见“v8::Value::Int32Value”的声明 (编译源文件 ..\src\enc\stream_encode.cc)
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(50): error C2661: “v8::Value::ToObject”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogram
ing\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(76): error C2661: “v8::Value::ToObject”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogram
ing\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(76): error C2512: “StreamEncode::StreamEncode”: 没有合适的默认构造函数可用 [C:\Users\Drafc\workspace\graphicp
rograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(84): error C2661: “v8::Value::ToObject”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicprogram
ing\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(90): error C2661: “v8::Value::BooleanValue”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicpro
graming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(103): error C2661: “v8::Value::BooleanValue”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicpr
ograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
c:\users\drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\src\enc\stream_encode.cc(109): error C2661: “v8::Value::BooleanValue”: 没有重载函数接受 0 个参数 [C:\Users\Drafc\workspace\graphicpr
ograming\p5&ml5\translate\p5.js-website\node_modules\iltorb\build\iltorb.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Drafc\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:311:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Drafc\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Drafc\workspace\graphicprograming\p5&ml5\translate\p5.js-website\node_modules\iltorb
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
If I want to translate p5.Vector which structure is right?
{
"p5.Vector": {
"description": "一个用以描述二维或三维向量的类.....",
"params": [
"数字: 向量的x分量",
"数字: 向量的y分量",
"数字: 向量的z分量"
],
"methods": {
"mult": "向量乘法...",
"add": "向量加法..."
},
"returns": "p5.Vector"
}
}
{
"p5.Vector": {
"description": "一个用以描述二维或三维向量的类.....",
"params": [
"数字: 向量的x分量",
"数字: 向量的y分量",
"数字: 向量的z分量"
],
"returns": "p5.Vector"
},
"mult": {
"description": "向量乘法...",
"params": [...],
"returns": "p5.Vector"
},
"add": {
"description": "向量加法...",
"params": [...],
"returns": "p5.Vector"
}
}
@Drafffffff When running npm i is the terminal in p5.js-website folder? Can you also try removing the existing node_modules folder then running the install again?
If I want to translate p5.Vector which structure is right?
I guess the second one but without some modification to the reference translation JS code it probably won't work out of the box.
@Drafffffff When running
npm iis the terminal inp5.js-websitefolder? Can you also try removing the existingnode_modulesfolder then running the install again?If I want to translate p5.Vector which structure is right?
I guess the second one but without some modification to the reference translation JS code it probably won't work out of the box.
I can't build the website so I don't know if it's working.😅