Skip to content

Commit

Permalink
fix: Module not found: Can't resolve 'react'
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Jun 27, 2019
1 parent 4b1afb1 commit a00e588
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/cubejs-server-core/core/DevServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ class DevServer {
['install', '--save'].concat(toInstall),
{ cwd: path.resolve(dashboardAppPath) }
);
await executeCommand(
'npm',
['install'],
{ cwd: path.resolve(dashboardAppPath) }
);
this.cubejsServer.event('Dev Server Dashboard Npm Install Success');
}
return toInstall;
Expand Down

0 comments on commit a00e588

Please sign in to comment.