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

Port doesn't assign properly when using --port option on Windows #3

Open
djsmith1000 opened this issue May 1, 2020 · 0 comments
Open

Comments

@djsmith1000
Copy link

djsmith1000 commented May 1, 2020

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

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