AshishKapoor commented on a change in pull request #10357:
URL: https://github.com/apache/druid/pull/10357#discussion_r489570036
##########
File path: web-console/README.md
##########
@@ -25,7 +25,9 @@ This is the unified Druid web console that servers as a data
management layer fo
1. You need to be withing the `web-console` directory
2. Install the modules with `npm install`
-3. Run `npm start` will start in development mode and will proxy druid
requests to `localhost:8888`
+3. Run `npm run compile` to compile the scss files
Review comment:
@suneet-s There you go! It works fine only after a compile run as
mentioned in the docs for me.
```
WARNING in ./src/views/home-view/home-view.scss
(./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js!./src/views/home-view/home-view.scss)
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(37:3) grid-gap only works if grid-template(-areas) is being used
@ ./src/views/home-view/home-view.scss 1:14-193 20:4-31:5 23:25-204
@ ./src/views/home-view/home-view.tsx
@ ./src/views/index.ts
@ ./src/console-application.tsx
@ ./src/entry.ts
ERROR in ./src/entry.scss
(./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js!./src/entry.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: File to import not found or unreadable: ../lib/react-table.
on line 22 of
/Users/ashishkapoor/Downloads/druid-master/web-console/src/entry.scss
>> @import '../lib/react-table';
^
@ ./src/entry.scss 1:14-171 20:4-31:5 23:25-182
@ ./src/entry.ts
ERROR in ./src/views/query-view/query-input/query-input.tsx
Module not found: Error: Can't resolve '../../../../lib/sql-docs' in
'/Users/ashishkapoor/Downloads/druid-master/web-console/src/views/query-view/query-input'
@ ./src/views/query-view/query-input/query-input.tsx 10:17-52
@ ./src/views/query-view/query-view.tsx
@ ./src/views/index.ts
@ ./src/console-application.tsx
@ ./src/entry.ts
ERROR in ./src/ace-modes/dsql.js
Module not found: Error: Can't resolve '../../lib/sql-docs' in
'/Users/ashishkapoor/Downloads/druid-master/web-console/src/ace-modes'
@ ./src/ace-modes/dsql.js 25:21-50
@ ./src/entry.ts
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]