anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.14k stars 557 forks source link

Vue app building failing #176

Open bitcoinvsalts opened 5 years ago

bitcoinvsalts commented 5 years ago

while trying to build my vue app using this pkge, i am getting the following error:


js/chunk-vendors.61e501b3.js from Terser
Unexpected token: punc (;) [./node_modules/technicalindicators/lib/directionalmovement/ADX.js:86,0][js/chunk-vendors.61e501b3.js:263516,4]```

using 2.0.8
lingoyak commented 5 years ago

I am actually having same issue with angular electron. Did you solve the problem?

lingoyak commented 5 years ago

ERROR in main.d9513f317ecc338cfa29.js from Terser Unexpected token: punc (;) [main.d9513f317ecc338cfa29.js:7261,4]

That is actual error when trying to build.

anandanand84 commented 4 years ago

Try upgrading webpack if you are using webpack. I had the same issue and updating the webpack fixed it for me.