-
Notifications
You must be signed in to change notification settings - Fork 45
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
Having issues installing on a Macbook Air M1 #62
Comments
Had the same issue, it looks like cmake isn't installed: |
@juaquins |
This guy, my hero ^^ |
Also |
Is tslab expected to work on m1? |
I don't know, I let it go at some point and started prototyping in a single ts file with ts-node... |
i can verify it works, but i couldn't replicate it if i had to reinstall, i believe |
We have a docker image that has tslab installed (based off of the one from deepnote) and it works everywhere except on a couple of M1 laptops we have. Does anybody know why it wouldn't work even if it's running on a container? The kernels are even listed on jupyter lab, but when choosing TS/JS it just hangs when connecting to the kernel and ends up saying |
Have u tried the above instructions? For me no need to do a docker container, actually even vs code jupyter environment loads it. |
Weirdly enough, npm -g doesn't work for me (after all the brew install commands from above) but pnpm does |
hmmm is very unstable tech, weirdly enough is one of those things that work, until they don't and they start to work again with no explanation at all. |
Were you ever able to solve this runtime issue? I am experiencing it now. |
Hmmm doesn't ring a bell for me, sorry pal. |
@astears Almost certainly you are building it for x86 instead of arm. You can test this by simply running:
If you get the error, you've built it for the wrong architecture. When you watch the build you will see something like this:
If you use an incorrect
Don't do that. If you're installing sodium with brew, you're installed the arm version; you can't do a x86_64 build with an arm dependency; that's why this error occurs. At any rate, if you still can't fix it, the problem has nothing to do with tslab; see this thread in the zeromq repo; it's an upstream issue. If you can't get zeromq working, tslab won't ever work. ... The most common reason this happens is using node 14 or something older. If you're not already, try node 18. If that doesn't help, it's because of the issues in zeromq. :/ (The second, imo, reason people struggle to get tslab working is because they failed to install it globally; you cannot run the tslab kernel if it is not globally installed, because the kernel execution:
^ Executes the global If you install tslab locally you have to patch this kernel path to the local node_modules /.bin folder.) |
same issue with Mac M2 Update: install |
I'm using it in an m1. Installing it with |
Receiving the following error:
{\__/}
( • . •)
/ > . < \
The text was updated successfully, but these errors were encountered: