You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@arnog it seems it's a problem with the react-scripts versions, i've tried 3.3.0,3.4.0 and 3.4.1 and still no success, but there was a change , now the error is on the ''??" operator, will dig futher and report any updates
@joaortizro yes, it's due to some tools in the react-cli toolchain still using webpack-4, which does not support the ?? operator. The fix is in the mathlive depot, which is to target es2019 instead of the current version of Javascript. But maybe you can find a way to configure react-cli to use webpack-5.
Activity
joaortizro commentedon Aug 20, 2021
anyone having the same problems?
arnog commentedon Aug 21, 2021
This is a duplicate of arnog/mathlive#1123
joaortizro commentedon Aug 21, 2021
@arnog it seems it's a problem with the react-scripts versions, i've tried 3.3.0,3.4.0 and 3.4.1 and still no success, but there was a change , now the error is on the ''??" operator, will dig futher and report any updates
arnog commentedon Aug 22, 2021
@joaortizro yes, it's due to some tools in the react-cli toolchain still using webpack-4, which does not support the
??operator. The fix is in the mathlive depot, which is to targetes2019instead of the current version of Javascript. But maybe you can find a way to configure react-cli to use webpack-5.