Open 941477276 opened 4 years ago
我刚才也碰到了这个问题,原因好像是node
版本高了,解决办法是调回v10.13.0
,如果还报错可以尝试删除 node_modules
重新 npm install
可以试试cnpm i element-themex -g
可以试试cnpm i element-themex -g
好使好使
可以试试cnpm i element-themex -g
好用
cnpm i element-themex -g node哪个版本? 能否把解决方法说的具体点?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Element UI version
2.13.1
OS/Browsers version
windows10
Vue version
3.0.0-alpha.13
Reproduction Link
Steps to reproduce
1、全局安装
npm i element-theme -g
2、项目安装npm i element-theme-chalk -D
,版本号2.13.1node
版本号 v12.13.1 3、执行et -1
命令 4、结果: 报错fs.js:27 const { Math, Object } = primordials; ^ ReferenceError: primordials is not defined
What is Expected?
正常生成
element-variables.scss
文件What is actually happening?
报错
fs.js:27 const { Math, Object } = primordials; ^ ReferenceError: primordials is not defined