Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nglee opened this issue Dec 1, 2023 · 0 comments
Open

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

nglee opened this issue Dec 1, 2023 · 0 comments

Comments

@nglee
Copy link

nglee commented 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!

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]  
@nglee nglee changed the title Compatible version of node, npm, node-gyp? Which version of node, npm, node-gyp should I use? Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant