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

创建新模块sean报错 #61

Closed
sean5808 opened this issue Jun 16, 2022 · 1 comment
Closed

创建新模块sean报错 #61

sean5808 opened this issue Jun 16, 2022 · 1 comment

Comments

@sean5808
Copy link

5.x版本中尝试执行命令(cl create sean)去创建模块报错,4.0版本是没有问题的。

错误提示:

  • node:internal/fs/utils:344
    throw err;
    ^

Error: ENOENT: no such file or directory, mkdir 'C:\Users\sean5\Desktop\cool-admin-vue-5.x\src\cool\modules\sean'
at Object.mkdirSync (node:fs:1334:3)
at next (C:\Users\sean5\AppData\Roaming\npm\node_modules\cl-admin-cli\bin\cl-create.js:103:6)
at C:\Users\sean5\AppData\Roaming\npm\node_modules\cl-admin-cli\bin\cl-create.js:156:6
at FSReqCallback.oncomplete (node:fs:199:5) {
errno: -4058,
syscall: 'mkdir',
code: 'ENOENT',
path: 'C:\Users\sean5\Desktop\cool-admin-vue-5.x\src\cool\modules\sean'

@icssoa
Copy link
Collaborator

icssoa commented Jun 24, 2022

5.x版本中尝试执行命令(cl create sean)去创建模块报错,4.0版本是没有问题的。

错误提示:

  • node:internal/fs/utils:344
    throw err;
    ^

Error: ENOENT: no such file or directory, mkdir 'C:\Users\sean5\Desktop\cool-admin-vue-5.x\src\cool\modules\sean' at Object.mkdirSync (node:fs:1334:3) at next (C:\Users\sean5\AppData\Roaming\npm\node_modules\cl-admin-cli\bin\cl-create.js:103:6) at C:\Users\sean5\AppData\Roaming\npm\node_modules\cl-admin-cli\bin\cl-create.js:156:6 at FSReqCallback.oncomplete (node:fs:199:5) { errno: -4058, syscall: 'mkdir', code: 'ENOENT', path: 'C:\Users\sean5\Desktop\cool-admin-vue-5.x\src\cool\modules\sean'

5.x 使用 @cool-vue/cli 创建

@icssoa icssoa closed this as completed Jun 24, 2022
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