#Can't build in nextjs 13.5

1 messages · Page 1 of 1 (latest)

grave mural
#

i run npm run build but Failed to compile. How can fix ?

(node:39764) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

CssSyntaxError: static/css/2b6f227b32e9bd42.css:2724:41: Unknown word
at ScssParser.unknownWord postcss/lib/parser.js:594:22)

meager moatBOT
#

Hi @grave mural. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the extracts, it's not clear what the exact issue is with your Next.js build. However, the error message suggests that there's a syntax error in your CSS file at static/css/2b6f227b32e9bd42.css:2724:41. You might want to check that file and line for any syntax issues.

Additionally, the warning about the punycode module being deprecated suggests that you or one of your dependencies is using this module. You might want to look into replacing this with a userland alternative.

If you're still having trouble, you might find it helpful to refer to the Next.js documentation (https://nextjs.org/docs/getting-started/installation) or to seek help on the Next.js GitHub issues page (https://github.com/vercel/next.js/issues).

Please note that without more specific information about your project and its configuration, it's difficult to provide a more precise answer.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: