I've a big Angular project with gulp and other tools configured (I don't know these tools), this project seems not to support ES6 syntax (.map/.filter/destructuring/etc.) even if the Node version I'm currently running on (10.13.0) does.
For example, when I use .map
, on gulp serve
I got this error:
internal/streams/legacy.js:57
throw er; // Unhandled stream error in pipe.
^
Error: Error in parsing: "antheagestioneservizimanutenzioneveicolilistamanutenzioni
uovamanutenzione
uovaorganizzazionepianificazione.controller.js", Line 337: Unexpected token =>
Any suggestion how to enable this syntax or how can I give you more details about project?
question from:
https://stackoverflow.com/questions/65951182/enable-es6-syntax-in-an-angularjs-project 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…