N
Nuxt2mo ago
jd

Fix for <stdin>:34:12: ERROR: Expected identifier but found ":"

Nuxt doesn't even start, any ideas?
ERROR Cannot start nuxt: Transform failed with 1 error:
<stdin>:34:12: ERROR: Expected identifier but found ":"

<stdin>:34:12: ERROR: Expected identifier but found ":"
at failureErrorWithLog (node_modules\nuxt\node_modules\esbuild\lib\main.js:1472:15)
at node_modules\nuxt\node_modules\esbuild\lib\main.js:755:50
at responseCallbacks.<computed> (node_modules\nuxt\node_modules\esbuild\lib\main.js:622:9)
at handleIncomingPacket (node_modules\nuxt\node_modules\esbuild\lib\main.js:677:12)
at Socket.readFromStdout (node_modules\nuxt\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)
ERROR Cannot start nuxt: Transform failed with 1 error:
<stdin>:34:12: ERROR: Expected identifier but found ":"

<stdin>:34:12: ERROR: Expected identifier but found ":"
at failureErrorWithLog (node_modules\nuxt\node_modules\esbuild\lib\main.js:1472:15)
at node_modules\nuxt\node_modules\esbuild\lib\main.js:755:50
at responseCallbacks.<computed> (node_modules\nuxt\node_modules\esbuild\lib\main.js:622:9)
at handleIncomingPacket (node_modules\nuxt\node_modules\esbuild\lib\main.js:677:12)
at Socket.readFromStdout (node_modules\nuxt\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)
2 Replies
julbd
julbd2mo ago
Hello @jd. I got the same issue. Did you find a solution to get a more helpful error stacktrace ?
jd
jdOP2mo ago
@julbd it just stopped on its own the next day. I don't think I even made a change for it The transform I thought might have been connected to the transform parameter function inside the useFetch I have, if you do that yourself
Want results from more Discord servers?
Add your server