Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

et 命令报错 #107

Open
ay8yt opened this issue Jul 22, 2022 · 1 comment
Open

et 命令报错 #107

ay8yt opened this issue Jul 22, 2022 · 1 comment

Comments

@ay8yt
Copy link

ay8yt commented Jul 22, 2022

node版本 v14.5.0

npm i element-theme -g
npm i element-theme-chalk -D
et -i

报错信息
fs.js:40
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:40:5
at req_ (C:\Users\Gabriel\AppData\Roaming\npm\node_modules\element-theme\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\Gabriel\AppData\Roaming\npm\node_modules\element-theme\node_modules\natives\index.js:55:10)
at Object. (C:\Users\Gabriel\AppData\Roaming\npm\node_modules\element-theme\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
at Module.load (internal/modules/cjs/loader.js:1050:32)
at Function.Module._load (internal/modules/cjs/loader.js:938:14)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)

@nangongpo
Copy link

node >= 14
element-theme 换 element-theme-replace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants