-
Notifications
You must be signed in to change notification settings - Fork 184
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
Error running in VSCode: No native build was found for platform=darwin arch=x64 runtime=electron abi=83 uv=1 libc=glibc node=14.16.1 #243
Comments
I'd try to install the IJavscript kernelspec using full paths, like this: |
I'm having the exact same issue. This is the first time I've tried to set up and use IJavascript, and Jupyter in general. Jupyter is working fine with a python 3.9 kernel and python code, in VS Code. I tried using the above command For debugging this I also tried opening up the I'm running macOS 11.4, using an apple m1 chip. This might be related; not sure. The errors all say they're trying to use the x64 build, which should work fine with rosetta 2, but it's possible somewhere the wires are getting crossed for what it considers a 'native' build? Error log
|
Looks like zeromq has |
Alright, I'm not sure why this worked, since it seems to be bypassing the nvm use 14.17.1 # this was the version I started with, including for verbosity
npm uninstall -g ijavascript
nvm install 16.3.0 # the minor version of v16 I happened to already have, included for verbosity. Other v16 versions may work too.
nvm use 16.3.0
npm install -g ijavascript
ijsinstall --spec-path=full Bafflingly, this works even if I remove the |
One can run |
|
@phoenixeliot The paths in the error logs should give us a clue, whether
|
Just to add some debugging data, after switching to node v16, I found that VS Code failed to run the notebook (an ENOENT error, with VS Code forever visually trying to connect to the kernel, different from the original error in this issue) if I use the |
That's expected. Every time the node versions is changed, new binaries for if If |
I can confirm upgrading node to 16 (in my case v16.6.2) works. I've also tried |
switch to dependencies /node_modules/zeromq folder then run. npm run build:libzmq |
posting my experience in case it helps anyone else I have
Changing However,
did work. But it was a bit tricky because I, apparently, have 3 locations that needed to be rebuilt. I'm really not familiar with npm and I was recklessly throwing commands at shell so it's my own fault. This is the gist of my resolution:
At this point,
As it turns out, there's another location where
After which, it finally worked. |
@kingscolour Thank you for reporting your experience. My understanding is that if In your case, it looks like the |
I encountered the same problem and the following solution works for me:
solution:
and finally, it works just fine for me for more info here are some resources that helped me to fix this issue on my windows machine: |
Oddly, I resolved the issue by opening terminal and executing Background: The new M1 is freshly installed with VSCode for Apple Silicon. Launched a TensorFlow model in a VScode Jupyter extension. VScode worked well allowing me to debug user code and follow framework parameters. This pattern lasted for a few days on a new M1 Macbook Pro. I then rebooted after installing unrelated software. I forgot the importance of executing the Viola, running 8-10 hour training runs once again. If this is helpful, worth a try. VScode launches in a clean state without errors. |
In my case, he works fine on the web side, and "can't boot the kernel" in vscode. After I ran "npm run build:libzmq", he worked in VSCODE too. |
worked for me as well
worked for me |
I have the same problem and wasted a lot of time trying to get anywhere. I was close I guess but then when doing
and another box of issues with MSVS appeared. So I just went to the original error, opened
because I saw that node.abi108.node was there anyway: TLDR: and the whole fix boiled down to that single string (electron -> node) and now my node kernel works. |
Thanks a lot! Have no idea how it works but it did the trick. 🤣 |
Not sure if related to this same issue or not. OS: WIn 10 x64 Using It works properly for node v18 but not for node v20 p.s. Didn't test any of the above mentioned build processes as I don't have the bandwidth to install & configure MSVS. Node repo information:
running the kernel through jupyter
|
The solution for me was tagore-cai's recommendation: #243 (comment)
I'm in Linux mint with node 18.17.0, python 3.10.12, pnpm 7.30.5 (I use pnpm instead of npm in my machine), and I located the "zeromq" folder by running first: |
Doesn't work inside the vscode notebook:
The text was updated successfully, but these errors were encountered: