How to retract nodejs to specific version of V8?
I want to use that version of nodejs that is compatible with my current
version of v8 that we are using somewhere else.
I looked into "that" v8 ChangeLog file and it showed
> 2013-04-04: Version 3.17.16
>
> Stack trace API: poison stack frames below the first strict mode
frame.
> (issue 2564)
So i wanted to revert back to that version of nodejs that uses this or
earlier v8. I changed the node.gyp file all deps/v8 to path_of_some_v8.
Then I did
cd path/to/node
gitk
and then from the gui i selected v8: update to 3.14.5.9 and reset master
branch to that commit with mixed [ which says leaving working tree as such
and resetting master ].
I then rebuild the node using vcbuild.bat but i am getting errors like
type is ''unknown-type''
src\node_http_parser.cc(553): error C2664: 'v8::FunctionTemplate::New' :
cannot
convert parameter 1 from 'void (__cdecl *)(const int)' to
'v8::InvocationCallb
ack' [C:\CEF\anand\chromium\chromium\src\node_2012\node\node.vcxproj]
Incompatible calling conventions for UDT return value
src\node_http_parser.cc(570): error C2660:
'node::NODE_SET_PROTOTYPE_METHOD' :
function does not take 3 arguments
[C:\CEF\anand\chromium\chromium\src\node_201
2\node\node.vcxproj]
src\node_http_parser.cc(571): error C2660:
'node::NODE_SET_PROTOTYPE_METHOD' :
function does not take 3 arguments
[C:\CEF\anand\chromium\chromium\src\node_201
2\node\node.vcxproj]
src\node_http_parser.cc(572): error C2660:
'node::NODE_SET_PROTOTYPE_METHOD' :
function does not take 3 arguments
[C:\CEF\anand\chromium\chromium\src\node_201
2\node\node.vcxproj]
Is my method of reverting back the code is right ? What should i build
node with old version of v8 ?
No comments:
Post a Comment