File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cubejs-playground/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class DashboardSource {
73
73
parse ( sourceFiles ) {
74
74
this . appFile = sourceFiles . find ( f => f . fileName . indexOf ( 'src/App.js' ) !== - 1 ) ;
75
75
if ( ! this . appFile ) {
76
- throw new Error ( `src/App.js file not found. Can't parse dashboard app.` ) ;
76
+ throw new Error ( `src/App.js file not found. Can't parse dashboard app. Please delete dashboard-app directory and try to create it again. ` ) ;
77
77
}
78
78
this . appAst = parse ( this . appFile . content , {
79
79
sourceFilename : this . appFile . fileName ,
@@ -125,7 +125,7 @@ class DashboardSource {
125
125
} ) ;
126
126
}
127
127
if ( ! this . appClass ) {
128
- throw new Error ( `App class not found. Can't parse dashboard app.` ) ;
128
+ throw new Error ( `App class not found. Can't parse dashboard app. Please delete dashboard-app directory and try to create it again. ` ) ;
129
129
}
130
130
}
131
131
You can’t perform that action at this time.
0 commit comments