Y
Y
Yuri Ivanov2022-02-27 14:45:45
JavaScript
Yuri Ivanov, 2022-02-27 14:45:45

How to fix an error when building a project?

I use the vite
assembler when assembling the project, it poured so much good, I don’t understand at all what to do with it all, please help in which direction to at least fight

vite v2.7.10 building for production...
✓ 8 modules transformed.
[vite:css-post] Transform failed with 4 errors:
<stdin>:5:32: error: Expected ")" to end URL token
<stdin>:6:27: error: Expected ")" to end URL token
<stdin>:12:32: error: Expected ")" to end URL token
<stdin>:13:27: error: Expected ")" to end URL token
error during build:
Error: Transform failed with 4 errors:
<stdin>:5:32: error: Expected ")" to end URL token
<stdin>:6:27: error: Expected ")" to end URL token
<stdin>:12:32: error: Expected ")" to end URL token
<stdin>:13:27: error: Expected ")" to end URL token
    at failureErrorWithLog (C:\PROJECT\project 11 (game)\node_modules\vite\node_modules\esbuild\lib\main.js:1493:15)
    at C:\PROJECT\project 11 (game)\node_modules\vite\node_modules\esbuild\lib\main.js:1282:29
    at C:\PROJECT\project 11 (game)\node_modules\vite\node_modules\esbuild\lib\main.js:629:9
    at handleIncomingPacket (C:\PROJECT\project 11 (game)\node_modules\vite\node_modules\esbuild\lib\main.js:726:9)
    at Socket.readFromStdout (C:\PROJECT\project 11 (game)\node_modules\vite\node_modules\esbuild\lib\main.js:596:7)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Socket.Readable.push (node:internal/streams/readable:234:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
[!] Error: unfinished hook action(s) on exit:
(vite:esbuild-transpile) renderChunk

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Ivanov, 2022-03-01
@asvici

An error was found in the fonts (there were spaces in the name of the fonts)
Written just now

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question