jverneaut / laboratoire

Ce projet rassemble mes expérimentations frontend. Il contient des essais d'animations, des expériences avec WebGL, des essais d'api et bien d'autres choses encore.

Home Page:https://lab.julienverneaut.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Which version of node, npm, node-gyp should I use?

nglee opened this issue · comments

Hi, I'm trying to do npm install but I get the following error logs.

To tackle the problem, I'd like to start from finding node, npm, and node-gyp that are compatible with this project. Could you share those information?

Thank you!

npm ERR! c:\repos\laboratoire\node_modules\nan\nan_callbacks.h(55): error C2039: 'AccessorSignature': is not a member of 'v8' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8.h(71): note: see declaration of 'v8'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan_callbacks.h(55): error C2065: 'AccessorSignature': undeclared identifier [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR! c:\repos\laboratoire\node_modules\nan\nan_callbacks.h(55): error C2923: 'v8::Local': 'AccessorSignature' is not a valid template type argument for parameter 'T' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR! c:\repos\laboratoire\node_modules\nan\nan_callbacks.h(55): error C2641: cannot deduce template argument for 'v8::Local' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(682): warning C4996: 'v8::Isolate::IdleNotificationDeadline': Use MemoryPressureNotification() to influence the GC schedule. [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8-isolate.h(1293): note: see declaration of 'v8::Isolate::IdleNotificationDeadline'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2955: 'v8::Local': use of class template requires template argument list [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8-local-handle.h(190): note: see declaration of 'v8::Local'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2672: 'v8::Local': no matching overloaded function found [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2783: 'v8::Local<T> v8::Local(void)': could not deduce template argument for 'T' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]   
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8-local-handle.h(192): note: see declaration of 'v8::Local'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2780: 'v8::Local<T> v8::Local(v8::Local<S>)': expects 1 arguments - 0 provided [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]     
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8-local-handle.h(195): note: see declaration of 'v8::Local'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2780: 'v8::Local<T> v8::Local(T *)': expects 1 arguments - 0 provided [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR!   c:\users\nalee\appdata\local\node-gyp\cache\20.10.0\include\node\v8-local-handle.h(331): note: see declaration of 'v8::Local'
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2641: cannot deduce template argument for 'v8::Local' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2509): error C2512: 'v8::Local': no appropriate default constructor available [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]
npm ERR!   c:\repos\laboratoire\node_modules\nan\nan.h(2509): note: No constructor could take the source type, or constructor overload resolution was ambiguous
npm ERR! c:\repos\laboratoire\node_modules\nan\nan.h(2535): error C2664: 'void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>,v8::AccessorNameGetterCallback,v8::AccessorNameSetterCallback,v8::Local<v8::Value>,v8::AccessControl,v8::PropertyAttribute,v8::SideEffectType,v8::SideEffectType)': cannot convert argument 2 from 'Nan::imp::NativeGetter' to 'v8::AccessorGetterCallback' [C:\repos\laboratoire\node_modules\favicons\node_modules\sharp\build\sharp.vcxproj]