diff --git a/src/index.tsx b/src/index.tsx index 527798dc..50d88f68 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -195,10 +195,9 @@ class Emma extends React.Component, State> { async installDependencies() { this.setState({ status: 'LOADING' }) try { - await Promise.all([ - install(Object.values(this.state.dependencies), 'dependency'), - install(Object.values(this.state.dependencies), 'devDependency'), - ]) + await install(Object.values(this.state.dependencies), 'dependency') + await install(Object.values(this.state.dependencies), 'devDependency') + this.setState({ status: 'INSTALLED' }) } catch (err) { this.setState({ status: 'ERROR' })