#Need help in building next.js project

5 messages · Page 1 of 1 (latest)

left dome
#

When I run "npm run dev", it works. But when I run "npm run build", following error occurs.
HookWebpackError: ......\static\css\1b07575f3ccac2d6.css:27:24: Unclosed bracket

Please let me know how I can fix this. Thank you.

empty cobalt
#

@left dome try to see what that file contains, where it comes from

#

doesn't dev mode compile the modules on the fly? making it impossible to see errors in files that are never used, or at least that you did not browse?
whereas build build the whole project?

left dome
#

@grim flume helped me to fix this issue. Thank you very much!

woven epoch
#

!resolved