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

Error with SerialPort Module #29

Open
moefear85 opened this issue Aug 27, 2021 · 0 comments
Open

Error with SerialPort Module #29

moefear85 opened this issue Aug 27, 2021 · 0 comments

Comments

@moefear85
Copy link

moefear85 commented Aug 27, 2021

Hello,

VSCode 1.59.1
Pymaker 1.1.12
Ubuntu 20.04

I get the serial port error. After opening Developer Tools, the following specific error messages occur:

Activating extension 'pycom.pymakr' failed: Could not locate the bindings file. Tried:
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/build/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/build/Debug/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/build/Release/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/out/Debug/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/Debug/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/out/Release/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/Release/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/build/default/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/compiled/14.16.0/linux/x64/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
→ /home/moefear85/.vscode/extensions/pycom.pymakr-1.1.12/node_modules/@serialport/bindings/lib/binding/node-v89-linux-x64/bindings.node.

I checked the @serialport/bindings folder, there is no folder named build, nor "out", nor "debug", nor "Releases". there is only "lib". Within it there is a folder named binding. Within that there are version and os specific folders, one is called "node-v87-linux-x64". Inside it there is a bindings.node file. So I copied into a newly created "build" folder within @serialport/bindings. After that, upon restart, PyMakr found the file, but gave another error that the bindings.node file did not self-register.

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