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

Windows10系统下,执行命令fs报错,例如ui:build命令 #15

Closed
seepine opened this issue Jul 31, 2023 · 1 comment · Fixed by #16
Closed

Windows10系统下,执行命令fs报错,例如ui:build命令 #15

seepine opened this issue Jul 31, 2023 · 1 comment · Fixed by #16

Comments

@seepine
Copy link
Contributor

seepine commented Jul 31, 2023

PS D:\workspace_vscode\vlib-starter> pnpm ui:build

> @bfehub/root@2.0.0 ui:build D:\workspace_vscode\vlib-starter
> pnpm --filter=vlib-ui build


> @bfehub/vlib-ui@1.0.1 build D:\workspace_vscode\vlib-starter\packages\vlib-ui
> gulp --require @esbuild-kit/cjs-loader -f scripts/build/index.ts

[19:57:17] Requiring external module @esbuild-kit/cjs-loader
[19:57:17] Working directory changed to D:\workspace_vscode\vlib-starter\packages\vlib-ui\scripts\build
[19:57:33] Using gulpfile D:\workspace_vscode\vlib-starter\packages\vlib-ui\scripts\build\index.ts
[19:57:33] Starting 'default'...
[19:57:33] Starting 'clean'...
[19:57:33] Finished 'clean' after 5.37 ms
[19:57:33] Starting 'buildModules'...
[19:57:33] Starting 'buildFull'...
[19:57:33] Starting 'buildStyle'...
[19:57:33] Starting 'generateTypes'...
[19:57:33] Starting 'generateHelper'...
[19:57:33] Finished 'generateHelper' after 34 ms
[19:57:34] The following tasks did not complete: default, <parallel>, buildModules, buildFull, buildStyle, generateTypes
[19:57:34] Did you forget to signal async completion?
node:internal/fs/utils:347
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'D:\workspace_vscode\vlib-starter\packages\vlib-ui\dist\tags.json'
    at Object.openSync (node:fs:601:3)
    at Object.writeFileSync (node:fs:2249:35)
    at <anonymous> (d:\workspace_vscode\vlib-starter\node_modules\.pnpm\components-helper@2.1.4\node_modules\components-helper\lib\index.js:568:12)
    at FSReqCallback.oncomplete (node:fs:198:23)
    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'D:\\workspace_vscode\\vlib-starter\\packages\\vlib-ui\\dist\\tags.json'
}

Node.js v18.16.1
D:\workspace_vscode\vlib-starter\packages\vlib-ui:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @bfehub/vlib-ui@1.0.1 build: `gulp --require @esbuild-kit/cjs-loader -f scripts/build/index.ts`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.
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

Successfully merging a pull request may close this issue.

2 participants