ElemeFE / ElemeFE/element

[Bug Report] 使用命令行主题工具自定主题出错

Open
#19,193 6 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.1

### OS/Browsers version
windows10

### Vue version
3.0.0-alpha.13

### Reproduction Link
![QQ截图20200416163054](https://user-images.githubusercontent.com/20528541/79433431-ab90c100-7fff-11ea-9233-d67d880a1fa1.png)

### Steps to reproduce
1、全局安装 `npm i element-theme -g `
2、项目安装`npm i element-theme-chalk -D`,版本号2.13.1
`node`版本号 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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.