You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
nglee
changed the title
Compatible version of node, npm, node-gyp?
Which version of node, npm, node-gyp should I use?
Dec 1, 2023
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!
The text was updated successfully, but these errors were encountered: