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
As you can see, the emsdk bundles version 12.18.1 of node, and your path is modified to use this version. It seems that this version of node is high imcompatible with nbind due to some deprecations in the V8/C++ layer (compiled nbind with this version will produce these issues).
However, you can get around this by taking that version of node from your path and instead using let's say node 8 (which I was able to do).
But, this doesn't fix the problem because somewhere in a makefile that I can't find there is an error like:
This might be a MacOSX thing, but MacOSX relies on python 2xx so it exists in /usr/bin, and most people usually have python3 for python 3, most likely installed from homebrew.
So just trying to npm i this example project does lead down a steep rabbit-hole - it would be ideal if there was a way to provide an env var like:
PYTHON_3_PATH="..."
NODE_PATH="..."
npm i
so that we can instruct exactly where to look for different things. But also, I think nbind (which seems to work quite well otherwise), could benefit from being compatible w/ bundled versions of dependencies in emsdk and utilzing emsdk vars
The text was updated successfully, but these errors were encountered:
The current version of emscripten requires sourcing
emsdk/emsdk_env.sh
, which does the following:As you can see, the emsdk bundles version 12.18.1 of node, and your path is modified to use this version. It seems that this version of node is high imcompatible with nbind due to some deprecations in the V8/C++ layer (compiled nbind with this version will produce these issues).
However, you can get around this by taking that version of node from your path and instead using let's say node 8 (which I was able to do).
But, this doesn't fix the problem because somewhere in a makefile that I can't find there is an error like:
This might be a MacOSX thing, but MacOSX relies on python 2xx so it exists in /usr/bin, and most people usually have
python3
for python 3, most likely installed fromhomebrew
.So just trying to
npm i
this example project does lead down a steep rabbit-hole - it would be ideal if there was a way to provide an env var like:so that we can instruct exactly where to look for different things. But also, I think nbind (which seems to work quite well otherwise), could benefit from being compatible w/ bundled versions of dependencies in emsdk and utilzing emsdk vars
The text was updated successfully, but these errors were encountered: