microflo-example-arduino
microflo-example-arduino copied to clipboard
Port doesn't assign properly when using --port option on Windows
I've tried a number of combinations, including using quotes around COM10, using one hyphen, using serial instead of port, etc. Never works. Always reverts to COM5.
npm start --port COM10
[email protected] start C:<my path>\microflo\microflo-example-arduino microflo runtime --wait-connect 3 --graph graphs/blink.fbp --componentmap build/blink.component.map.json "COM10"
INFO: No runtime id set, generated one: undefined Using serial baudrate with auto 115200 Using port: COM5 Available serial ports: ["COM5","COM7","COM3","COM4","COM6","COM10"] Error: Opening COM5: Unknown error code 121
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: microflo runtime --wait-connect 3 --graph graphs/blink.fbp --componentmap build/blink.component.map.json "COM10"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:<path>\AppData\Roaming\npm-cache_logs\2020-05-01T19_19_20_285Z-debug.log