dailidong opened a new issue #1880: [QUESTION] Cannot download 
"https://github.com/sass/node-sass/releases/download/binding.nod
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1880
 
 
   when compile front-end code(dolphinscheduler-ui), you may meet this 
problem:```Cannot download 
"https://github.com/sass/node-sass/releases/download/binding.nod```
   
   how to solve:
   
   cd dolphinscheduler-ui 
   
   # 1. delete node_modules directory
   > rm -rf node_modules
   
   # 2. install node-sass through npm.taobao.org
   sudo npm uninstall node-sass
   sudo npm i node-sass 
--sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
   
   # if failure, please 
   sudo npm rebuild node-sass
   
   # 3. install other dependency
   
   
   referer url: 
https://dolphinscheduler.apache.org/zh-cn/docs/1.2.0/user_doc/frontend-development.html
   
   
   By the way:
   when solved this problem, if you don't want to download this node every 
time, you can set system environment variable: SASS_BINARY_PATH= 
/xxx/xxx/xxx/xxx.nod
   

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


With regards,
Apache Git Services

Reply via email to