Skip to content

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

Open
@djsmith1000

Description

@djsmith1000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions