You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, From last two days i am facing following build issue from html2canvas in my react tsx vite project. can somebody help on this.
attaching full log in a file. it would be a great help if somebody responds and helps on this . Thank you.
i.e x Build failed in 38.86s
error during build:
[vite:esbuild-transpile] Transform failed with 1 error:
assets/html2canvas.esm-!{00K}.js:840:38174: ERROR: Unexpected "case"
Unexpected "case"
838| * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
839| * http://www.fpdf.org/en/script/script37.php 841| /**
842| * @license
at failureErrorWithLog (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:1472:15)
at /codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:755:50
at responseCallbacks. (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:622:9)
at handleIncomingPacket (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:677:12)
at Socket.readFromStdout (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:600:7)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
[Container] 2025/01/06 13:19:28.097324 Command did not exit successfully npm run build exit status 1
[Container] 2025/01/06 13:19:28.107628 Phase complete: BUILD State: FAILED
[Container] 2025/01/06 13:19:28.107642 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm run build. Reason: exit status 1
[Container] 20
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team, From last two days i am facing following build issue from html2canvas in my react tsx vite project. can somebody help on this.
attaching full log in a file. it would be a great help if somebody responds and helps on this . Thank you.
buildfailed.txt
i.e x Build failed in 38.86s
error during build:
[vite:esbuild-transpile] Transform failed with 1 error:
assets/html2canvas.esm-!
{00K}.js:840:38174: ERROR: Unexpected "case"Unexpected "case"
838| * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
839| * http://www.fpdf.org/en/script/script37.php 841| /**
842| * @license
at failureErrorWithLog (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:1472:15)
at /codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:755:50
at responseCallbacks. (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:622:9)
at handleIncomingPacket (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:677:12)
at Socket.readFromStdout (/codebuild/output/src2589080133/src/node_modules/esbuild/lib/main.js:600:7)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
[Container] 2025/01/06 13:19:28.097324 Command did not exit successfully npm run build exit status 1
[Container] 2025/01/06 13:19:28.107628 Phase complete: BUILD State: FAILED
[Container] 2025/01/06 13:19:28.107642 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm run build. Reason: exit status 1
[Container] 20
Beta Was this translation helpful? Give feedback.
All reactions