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

Not able to build with node@15 or @14 on macOS #2

Open
oleksandr-yefremov opened this issue Jan 28, 2021 · 0 comments
Open

Not able to build with node@15 or @14 on macOS #2

oleksandr-yefremov opened this issue Jan 28, 2021 · 0 comments

Comments

@oleksandr-yefremov
Copy link

oleksandr-yefremov commented Jan 28, 2021

npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/main.cpp:23:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/src/context.h:3:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/src/duktype/Context.h:2:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/src/duktype/ResourceManager.h:3:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/src/initnan.h:6:
npm ERR! In file included from ~/project/node_modules/nan/nan.h:55:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/build/node/v15.2.1/include/uv.h:66:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/build/node/v15.2.1/include/uv/unix.h:37:
npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/pwd.h:110:
npm ERR! In file included from ~/project/node_modules/@caspertech/duktype/src/uuid/uuid.h:5:
npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:504:
npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:175:
npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__string:57:
npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:639:
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/initializer_list:57:1: error: templates must have C++ linkage
npm ERR! template<class _Ep>
npm ERR! ^~~~~~~~~~~~~~~~~~~
npm ERR! ~/project/node_modules/@caspertech/duktype/build/node/v15.2.1/include/uv.h:27:1: note: extern "C" language linkage specification begins here
npm ERR! extern "C" {
npm ERR! ^

Hi, I am super interested to try out this package but not able to build it. Errors out with above mentioned stack trace. I tried node 15, 14 and 12 with cmake 3.19.2 and older 3.12.0 - result is the same. Maybe I am missing something in the configuration?
Thanks a lot.

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