Skip to content

Nuxt build error #1965

@raphmarot

Description

@raphmarot

Hello,

Updating from 0.46.5 to latest, and i get this error when building (happening only on build, dev mode is ok).

Nuxt 3 latest + vuetify 3 + vite-plugin-vuetify + some custom scss files.

ERROR  [unocss:global:build:scan] [postcss] E:\dev\project\server.mjs-unocss-hash.css:1:156916: Unexpected }                                                                                                                                                                                                                                                                                        08:45:52  


 ERROR  [postcss] E:\dev\project\server.mjs-unocss-hash.css:1:156916: Unexpected }                                                                                                                                                                                                                                                                                                                   08:45:52  

  at Input.error (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\input.js:148:16)
  at Parser.unexpectedClose (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\parser.js:548:22)
  at Parser.end (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\parser.js:379:12)
  at Parser.parse (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\parser.js:56:16)
  at parse (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\parse.js:11:12)
  at new LazyResult (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\lazy-result.js:133:16)
  at Processor.process (node_modules\.pnpm\postcss@8.4.19\node_modules\postcss\lib\processor.js:28:14)
  at compileCSS (/E:/dev/project/node_modules/.pnpm/vite@3.2.4_sass@1.56.1/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:43822:14)
  at async Object.transform (/E:/dev/lproject/node_modules/.pnpm/vite@3.2.4_sass@1.56.1/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:43310:55)
  at async applyCssTransform (/E:/dev/projectn3/node_modules/.pnpm/@unocss+vite@0.47.5/node_modules/@unocss/vite/dist/index.mjs:229:20)
  at async Object.renderChunk (/E:/dev/project/node_modules/.pnpm/@unocss+vite@0.47.5/node_modules/@unocss/vite/dist/index.mjs:312:15)
  at async Chunk.render (/E:/dev/project/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:14913:20)
  at async /E:/dev/lproject/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:15812:40
  at async Promise.all (index 0)
  at async Bundle.addFinalizedChunksToBundle (/E:/dev/lproject/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:15810:9)
  at async Bundle.generate (/E:/dev/project/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:15790:13)
  at async /E:/dev/project/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:23795:27
  at async catchUnfinishedHookActions (/E:/dev/project/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:23126:20)
  at async doBuild (/E:/dev/project/node_modules/.pnpm/vite@3.2.4_sass@1.56.1/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:45409:22)
  at async Module.build (/E:/dev/project/node_modules/.pnpm/vite@3.2.4_sass@1.56.1/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:45237:16)
  at async buildServer (/E:/dev/project/node_modules/.pnpm/@nuxt+vite-builder@3.0.0_332x2pftjzutwgnkcquqmt7wly/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:572:5)
  at async bundle (/E:/dev/project/node_modules/.pnpm/@nuxt+vite-builder@3.0.0_332x2pftjzutwgnkcquqmt7wly/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:839:3)
  at async build (/E:/dev/project/node_modules/.pnpm/nuxt@3.0.0_mct7hhkthiw66yekj6wthfoycq/node_modules/nuxt/dist/index.mjs:2235:5)
  at async Object.invoke (/E:/dev/project/node_modules/.pnpm/nuxi@3.0.0/node_modules/nuxi/dist/chunks/build.mjs:56:5)
  at async _main (/E:/dev/project/node_modules/.pnpm/nuxi@3.0.0/node_modules/nuxi/dist/cli.mjs:50:20)

 ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions