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

vite build chuns jump directly from the first to the last #18601

Closed
7 tasks done
335060087 opened this issue Nov 7, 2024 · 2 comments
Closed
7 tasks done

vite build chuns jump directly from the first to the last #18601

335060087 opened this issue Nov 7, 2024 · 2 comments

Comments

@335060087
Copy link

Describe the bug

vite:5.2.11
node:v20.18.0
pnpm:9.12.3
项目运行时候正常,但是打包时时候Transforms执行完成之后显示打包成功,但是chunks从1直接跳转到最后一个,并且出现如下图示的内容,最后显示报错,dist文件生成了但是dist中内容只有public中的内容,其它文件并没有生成成功
a1

Reproduction

no

Steps to reproduce

No response

System Info

no

Used Package Manager

pnpm

Logs

no

Validations

@335060087
Copy link
Author

_0x3793fb(0xfc){const _0x303a85=_0x3793fb;[[Yt$1],[$t],[Gt$1],[jt$1],[fe$1],[Ue$1,{'useClass':Lr$1}],[lr$1]]_0x303a85(0xf0),this['_injector']'get',this[_0x303a85(0x139)]_0x303a85(0x1ae),this[_0x303a85(0x139)]'get';}};Ld(Re$1,'pluginName',kd),Re$1=Ad([DependentOn(Lt$2),$e$1(0x1,Inject(Injector)),$e$1(0x2,IConfigService)],Re$1);createIdentifier(_0x3793fb(0x152));({'id':_0x3793fb(0x1a0),'type':CommandType[_0x3793fb(0x1b1)],'handler':()=>!0x0});

报错信息:
at failureErrorWithLog (D:\a\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1472:15)
at D:\a\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:755:50
at responseCallbacks. (D:\a\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:622:9)
at handleIncomingPacket (D:\a\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:677:12)
at Socket.readFromStdout (D:\a\node_modules.pnpm\[email protected]\node_modules\esbuild\lib\main.js:600:7)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
 ELIFECYCLE  Command failed with exit code 1.

Copy link

github-actions bot commented Nov 7, 2024

Hello @335060087. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants