Open dhffdh opened 8 months ago
The error "Could not locate the bindings file" seems to indicate some problem with your local node modules. If you google that error message, you'll find a ton of people asking about it, for example, this stackoverflow post.
Solution seems to be to remove your node_modules
directory and reinstall, or npm rebuild
.
I've removed the node_modules
folder and reinstalled everything, but having the same issue.
I suspect the issue is with the Apple M2 Pro chip. I had a lot of problem with packages that have some pre-compiled binaries, that usually don't contain also the binaries for the ARM architecture that the M2 is using.
Looking at the deasync lib, I see that is written in C++, so I'm guessing that they don't include binaries for ARM.
I'm seeing there is an issue opened there for the same issue.
Solution seems to be to remove your
node_modules
directory and reinstall, ornpm rebuild
.
I've already tried it. It doesn't help
Looking at the deasync lib, I see that is written in C++, so I'm guessing that they don't include binaries for ARM.
Try cp node_modules/deasync/bin/darwin-arm64-node-20/deasync.node node_modules/deasync/build/deasync.node
It helped me
VSCode output of eslint plugin:
environment:
Not helped: