-
Notifications
You must be signed in to change notification settings - Fork 592
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
SerialPort on Windows does not worked - bindings.node is not a valid Win32 application. #879
Comments
We probably need the logs from the install as well. How did you install the node? Can you run |
I don't know from where I can get better log then this one from installation. I also tried to do the npm rebuild, but the error is still the same. Even it write that the rebuild was successful. |
Here I foundhow to create a better log. C:\GreenVIP_Testing\Testing\Node-red\Phase0>npm install node-red-node-serialport --loglevel verbose up to date, audited 272 packages in 6s 29 packages are looking for funding 12 vulnerabilities (9 moderate, 3 high) To address issues that do not require attention, run: Some issues need review, and may require choosing Run C:\GreenVIP_Testing\Testing\Node-red\Phase0>npm rebuild node-red-node-serialport --loglevel verbose |
Just out of interest, is this Node-RED running in an electron app? Also try running |
The node-red is running up to FreeMaster lite from NXP. [https://www.nxp.com/design/software/development-software/freemaster-run-time-debugging-tool:FREEMASTER] Unfortunately it does not worked. :-( When I look to the file -> C:\GreenVIP_Testing\Testing\Node-red\Phase0>npm rebuild @serialport/bindings -verbose |
Can you show me what's in the |
Also try renaming the |
in this folder is just bindings.node (Date modified) 26.11.2021 5:21PM |
Now I tried to run `C:\GreenVIP_Testing\Testing\Node-red\Phase0\node_modules@serialport\bindings>npm run rebuild
gyp info it worked if it ends with ok |
OK, I'm at a loss now. I'll have to ask you to open an issue here: https://github.com/serialport/node-serialport as the root of the problem is with this package. You can reference this issue to show what we've already tried. |
Okay, I will. |
Which node are you reporting an issue on?
node-red-node-serialport
What are the steps to reproduce?
try install it on Windows machine
What happens?
When I install the node-red-node-serialport it install well, but in the node-red command line occured warning:
runtime.welcome
20 Jan 12:45:29 - [info] runtime.version
20 Jan 12:45:29 - [info] runtime.version
20 Jan 12:45:29 - [info] Windows_NT 10.0.19042 ia32 LE
20 Jan 12:45:32 - [info] server.loading
20 Jan 12:45:33 - [warn] ------------------------------------------------------
20 Jan 12:45:33 - [warn] [node-red-node-serialport/serialport] Error: \?\C:\GreenVIP_Testing\Testing\Node-red\Phase0\node_modules@serialport\bindings\build\Release\bindings.node is not a valid Win32 application.
\?\C:\GreenVIP_Testing\Testing\Node-red\Phase0\node_modules@serialport\bindings\build\Release\bindings.node
20 Jan 12:45:33 - [warn] ------------------------------------------------------
20 Jan 12:45:33 - [info] runtime.paths.settings
20 Jan 12:45:33 - [info] context.log-store-init
20 Jan 12:45:33 - [info] storage.localfilesystem.user-dir
20 Jan 12:45:33 - [warn] storage.localfilesystem.projects.disabled
20 Jan 12:45:33 - [info] storage.localfilesystem.flows-file
FreeMASTER Lite server is running
Listening on port 80
20 Jan 12:45:33 - [warn] nodes.credentials.system-key-warning
20 Jan 12:45:33 - [info] nodes.flows.starting-flows
20 Jan 12:45:33 - [info] nodes.flows.started-flows
I tried to call npm rebuild,
also reinstalled it by command, or by pallete.
and many other thinks but it did not hepled.
What do you expect to happen?
I expect that the UART will worked.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: