You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/20 20:20:03 UTC

[GitHub] [superset] codemaster08240328 commented on pull request #19703: chore(build): upgrade less-loader

codemaster08240328 commented on PR #19703:
URL: https://github.com/apache/superset/pull/19703#issuecomment-1104421579

   @ktmud , after this update, I removed all my node modules, installed it again. 
   Then when I try to run frontend using `npm run dev-server` it throws an error:
   ```
   ERROR in ./src/assets/stylesheets/antd/index.less (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].use[1]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[5].use[2]!./src/assets/stylesheets/antd/index.less)
   Module build failed (from ./node_modules/less-loader/dist/cjs.js):
   
   
   // @import './variable.less';
   @import './@{root-entry-name}.less';
         ^
   Variable @root-entry-name is undefined
         Error in /Volumes/Work/assignment/preset/superset/superset-frontend/node_modules/antd/lib/style/themes/index.less (line 7, column 8)
   ```
   
   Can you please check it?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org