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

Make firmware update timeout configurable #27

Merged
merged 3 commits into from
Jun 4, 2020

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Jun 4, 2020

This PR adds a configurable timeout for Device.updateFirmware(). The default request timeout of 30 seconds isn't long enough for an NCP firmware update to complete successfully.

Tested via device-os-flash.

@busticated
Copy link
Contributor

busticated commented Jun 4, 2020

ah

Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'

i think i hit this over in #website - i think it's just a matter of updating the dependencies.

edit: yeah - it was this. you need:

@babel/[email protected] (or greater)
@babel/[email protected] (or greater)

run

npm list @babel/core to find all the sub-dependencies.

@sergeuz
Copy link
Member Author

sergeuz commented Jun 4, 2020

@busticated I updated all the dev dependencies and babel's runtime separately. It seems to build fine now. Thanks!

@sergeuz sergeuz merged commit 30a379a into master Jun 4, 2020
@sergeuz sergeuz deleted the feature/update_fw_timeout branch June 4, 2020 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants