#I've been having a problem since yesterday. When building the app, I encountered this error:

1 messages · Page 1 of 1 (latest)

rain parrot
#

Error: Failed to compile '../../node_modules/highlight.js/lib/languages/arduino.js':
Module parse failed: Unexpected token (312:15)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| variants: [
| {

    begin: /=/,

| end: /;/
| },
Also after upgrading to node v20, I'm getting errors when running yarn install:
error @azure/[email protected]: The engine "node" is incompatible with this module. Expected version "10 12 14 16 18". Got "20.9.0"

viral quail
#

did you tried installing node with version 18?

austere compass
#

I believe highlight.js made a botched release of their library. Should be fixed now I think?