element ui 源码运行

68 阅读1分钟

问题记录

运行

链接: juejin.cn/post/715884…

action:

代码:

git clone --depth=1 --single-branch git@github.com:ElemeFE/element.git

安装:cnpm install

运行:npm run dev:play
访问:http://localhost:8085/

node-sass报错

链接:blog.csdn.net/weixin_4129…
解决:

  • node-sass 4.14.0 ; nodejs 14
  • fnm use 14

node-gyp 报错 (找不到python2)

链接:juejin.cn/post/738388…

解决:

npm config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass
cnpm install