Error Invalid or unexpected token
Can someone tell me how to fix this , i get the error when running docker build -t xena-service-face .
=> ERROR [8/8] RUN yarn build 28.7s
[8/8] RUN yarn build: #13 8.093 yarn run v1.22.19 #13 8.215 warning package.json: No license field #13 8.289 $ nuxt build #13 8.862 Nuxi 3.4.2 #13 8.984 Nuxt 3.4.2 with Nitro 2.3.3 #13 27.79 #13 27.79 ERROR Invalid or unexpected token #13 27.79 #13 27.79 @charset "UTF-8"; #13 27.79 ^ #13 27.79 #13 27.79 SyntaxError: Invalid or unexpected token #13 27.79 at Object.compileFunction (node:vm:360:18) #13 27.79 at wrapSafe (node:internal/modules/cjs/loader:1124:15) #13 27.79 at Module._compile (node:internal/modules/cjs/loader:1160:27) #13 27.79 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10) #13 27.79 at Module.load (node:internal/modules/cjs/loader:1074:32) #13 27.79 at Function.Module._load (node:internal/modules/cjs/loader:909:12) #13 27.79 at Module.require (node:internal/modules/cjs/loader:1098:19) #13 27.79 at require (node:internal/modules/cjs/helpers:108:18) #13 27.79 at jiti (node_modules/jiti/dist/jiti.js:1:243592) #13 27.79 at nuxt.config.js:2:1 #13 27.79 at Object.jiti (node_modules/jiti/dist/jiti.js:1:245784) #13 27.79 at resolveConfig (node_modules/c12/dist/index.mjs:279:24) #13 27.79 at loadConfig (node_modules/c12/dist/index.mjs:116:40) #13 27.79 at async loadNuxtConfig (node_modules/@nuxt/kit/dist/index.mjs:491:18) #13 27.79 at async loadNuxt (node_modules/nuxt/dist/index.mjs:2650:19) #13 27.79 at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:545:19) #13 27.79 at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:37:18) #13 27.79 at async _main (node_modules/nuxi/dist/cli.mjs:48:20) #13 27.79 #13 28.00 error Command failed with exit code 1. #13 28.00 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
process "/bin/sh -c yarn build" did not complete successfully: exit code: 1