Skip to content

Commit a00e588

Browse files
committed
fix: Module not found: Can't resolve 'react'
1 parent 4b1afb1 commit a00e588

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cubejs-server-core/core/DevServer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ class DevServer {
170170
['install', '--save'].concat(toInstall),
171171
{ cwd: path.resolve(dashboardAppPath) }
172172
);
173+
await executeCommand(
174+
'npm',
175+
['install'],
176+
{ cwd: path.resolve(dashboardAppPath) }
177+
);
173178
this.cubejsServer.event('Dev Server Dashboard Npm Install Success');
174179
}
175180
return toInstall;

0 commit comments

Comments
 (0)