Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Installation failed #93

Closed
ati998 opened this issue Dec 1, 2019 · 3 comments
Closed

Installation failed #93

ati998 opened this issue Dec 1, 2019 · 3 comments

Comments

@ati998
Copy link

ati998 commented Dec 1, 2019

PS C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp> npm i node-opus@^0.2.7

ref@1.3.5 install C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref
node-gyp rebuild

C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Pro
gram Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js"
rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
binding.cc
win_delay_load_hook.cc
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(222): error C2661: 'v8::Value::B
ooleanValue': no overloaded function takes 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\ref\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(253): error C2660: 'v8::Value::U
int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\re
f\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value:
:Uint32Value' (compiling source file ..\src\binding.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(360): error C2664: 'v8::String::
Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Localv8::Value' to 'const v
8::String::Utf8Value &' [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(360): note: Reason: cannot con
vert from 'v8::Localv8::Value' to 'const v8::String::Utf8Value'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(360): note: No user-defined-co
nversion operator available that can perform this conversion, or the operator cannot be called
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(447): error C2664: 'v8::String::
Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Localv8::Value' to 'const v
8::String::Utf8Value &' [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(447): note: Reason: cannot con
vert from 'v8::Localv8::Value' to 'const v8::String::Utf8Value'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(447): note: No user-defined-co
nversion operator available that can perform this conversion, or the operator cannot be called
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(521): error C2660: 'v8::Value::U
int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\re
f\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value:
:Uint32Value' (compiling source file ..\src\binding.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(550): error C2660: 'v8::Value::U
int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\re
f\build\binding.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2567): note: see declaration of 'v8::Value:
:Uint32Value' (compiling source file ..\src\binding.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(582): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(583): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(584): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(585): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(586): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(587): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(588): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(589): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(590): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(591): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(593): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(594): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(595): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(596): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(597): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(598): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(599): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(600): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(601): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(602): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(603): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(604): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(605): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(606): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(608): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(615): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(616): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(617): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(618): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(619): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(620): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(621): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(622): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(623): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(624): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(625): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(626): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(627): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(628): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(629): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(630): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(631): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(632): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(633): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(634): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(635): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(636): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(637): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(638): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(641): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(642): warning C4996: 'v8::Object
::Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.
vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(3358): note: see declaration of 'v8::Object
::Set'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(643): warning C4996: 'Nan::Force
Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.vc
xproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaratio
n of 'Nan::ForceSet'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\ref\src\binding.cc(644): warning C4996: 'Nan::Force
Set': was declared deprecated [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref\build\binding.vc
xproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaratio
n of 'Nan::ForceSet'
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
62:23)
gyp ERR! stack at ChildProcess.emit (events.js:196:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Windows_NT 10.0.14393
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 C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\ref
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

node-opus@0.2.7 install C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus
node-gyp rebuild

C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus>if not defined npm_config_node_gyp (node "
C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-g
yp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
opus.c
opus_decoder.c
opus_encoder.c
opus_multistream.c
opus_multistream_encoder.c
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\deps\opus\src\opus_encoder.c(655): warnin
g C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [C:\Users\Rendszerga
zda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus\build\deps\libopus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\deps\opus\src\opus_encoder.c(728): warnin
g C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [C:\Users\Rendszerga
zda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus\build\deps\libopus.vcxproj]
opus_multistream_decoder.c
repacketizer.c
analysis.c
mlp.c
mlp_data.c
bands.c
celt.c
celt_encoder.c
celt_decoder.c
cwrs.c
entcode.c
entdec.c
entenc.c
kiss_fft.c
laplace.c
mathops.c
mdct.c
modes.c
pitch.c
celt_lpc.c
quant_bands.c
rate.c
vq.c
CNG.c
code_signs.c
init_decoder.c
decode_core.c
decode_frame.c
decode_parameters.c
decode_indices.c
decode_pulses.c
decoder_set_fs.c
dec_API.c
enc_API.c
encode_indices.c
encode_pulses.c
gain_quant.c
interpolate.c
LP_variable_cutoff.c
NLSF_decode.c
NSQ.c
NSQ_del_dec.c
PLC.c
shell_coder.c
tables_gain.c
tables_LTP.c
tables_NLSF_CB_NB_MB.c
tables_NLSF_CB_WB.c
tables_other.c
tables_pitch_lag.c
tables_pulses_per_block.c
VAD.c
control_audio_bandwidth.c
quant_LTP_gains.c
VQ_WMat_EC.c
HP_variable_cutoff.c
NLSF_encode.c
NLSF_VQ.c
NLSF_unpack.c
NLSF_del_dec_quant.c
process_NLSFs.c
stereo_LR_to_MS.c
stereo_MS_to_LR.c
check_control_input.c
control_SNR.c
init_encoder.c
control_codec.c
A2NLSF.c
ana_filt_bank_1.c
biquad_alt.c
bwexpander_32.c
bwexpander.c
debug.c
decode_pitch.c
inner_prod_aligned.c
lin2log.c
log2lin.c
LPC_analysis_filter.c
LPC_inv_pred_gain.c
table_LSF_cos.c
NLSF2A.c
NLSF_stabilize.c
NLSF_VQ_weights_laroia.c
pitch_est_tables.c
resampler.c
resampler_down2_3.c
resampler_down2.c
resampler_private_AR2.c
resampler_private_down_FIR.c
resampler_private_IIR_FIR.c
resampler_private_up2_HQ.c
resampler_rom.c
sigm_Q15.c
sort.c
sum_sqr_shift.c
stereo_decode_pred.c
stereo_encode_pred.c
stereo_find_predictor.c
stereo_quant_pred.c
apply_sine_window_FLP.c
corrMatrix_FLP.c
encode_frame_FLP.c
find_LPC_FLP.c
find_LTP_FLP.c
find_pitch_lags_FLP.c
find_pred_coefs_FLP.c
LPC_analysis_filter_FLP.c
LTP_analysis_filter_FLP.c
LTP_scale_ctrl_FLP.c
noise_shape_analysis_FLP.c
prefilter_FLP.c
process_gains_FLP.c
regularize_correlations_FLP.c
residual_energy_FLP.c
solve_LS_FLP.c
warped_autocorrelation_FLP.c
wrappers_FLP.c
autocorrelation_FLP.c
burg_modified_FLP.c
bwexpander_FLP.c
energy_FLP.c
inner_product_FLP.c
k2a_FLP.c
levinsondurbin_FLP.c
LPC_inv_pred_gain_FLP.c
pitch_analysis_core_FLP.c
scale_copy_vector_FLP.c
scale_vector_FLP.c
schur_FLP.c
sort_FLP.c
win_delay_load_hook.cc
libopus.vcxproj -> C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus\build\Release\libop
us.lib
node-opus.cc
win_delay_load_hook.cc
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(41): warning C4099: 'Opu
sEncoder': type name first seen using 'struct' now seen using 'class' [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\a
ltv_rp\node_modules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(41): note: see declara
tion of 'OpusEncoder'
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(100): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(151): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(152): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(166): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(167): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(181): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(213): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(214): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(215): error C2660: 'v8::
Value::Int32Value': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(2569): note: see declaration of 'v8::Value:
:Int32Value' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(239): error C2660: 'v8::
FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv
_rp\node_modules\node-opus\build\node-opus.vcxproj]
c:\users\rendszergazda.win-1bh7d2e0toi.node-gyp\12.0.0\include\node\v8.h(5947): note: see declaration of 'v8::Functi
onTemplate::GetFunction' (compiling source file ..\src\node-opus.cc)
c:\users\rendszergazda.win-1bh7d2e0toi\desktop\altv_rp\node_modules\node-opus\src\node-opus.cc(239): error C2661: 'v8::
Object::Set': no overloaded function takes 1 arguments [C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_mod
ules\node-opus\build\node-opus.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
62:23)
gyp ERR! stack at ChildProcess.emit (events.js:196:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Windows_NT 10.0.14393
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 C:\Users\Rendszergazda.WIN-1BH7D2E0TOI\Desktop\altv_rp\node_modules\node-opus
gyp ERR! node -v v12.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN discord.js@11.5.1 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer de
pendencies yourself.
npm WARN discord.js@11.5.1 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yo
urself.
npm WARN altv-orp@0.0.1 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ref@1.3.5 (node_modules\ref):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ref@1.3.5 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-opus@0.2.7 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-opus@0.2.7 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\Rendszergazda.WIN-1BH7D2E0TOI\AppData\Roaming\npm-cache_logs\2019-12-01T19_19_53_082Z-debug.log

@markokajzer
Copy link

markokajzer commented Dec 9, 2019

Seems like the reason is this here: The ref module (which is used by ogg-packet which is an optional dependency of node-opus) is not compatible with Node v12. Here you can see that it is due to using removed v8 APIs. Unfortunately, at this point there is nothing we can do about it.

Uninstall Node v12 and install v10, and try everything again. That should hopefully work :)

@geekuillaume
Copy link

If you are using yarn, you can also alias ref to ref-napi with yarn add ref@npm:ref-napi to prevent this error.

@Rantanen
Copy link
Owner

I'm archiving the repository for lack of interest in maintaining it. Sorry I never got to deal with this issue. Please see @discordjs/opus for an alternative implementation that is based this project but uses more stable Node.js module technology that should break less between Node.js versions.

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

No branches or pull requests

4 participants