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"