yarn build failed for Javascript setup with error "Unrecognized Token" #1428
Replies: 2 comments 1 reply
-
|
There are no missing dependencies, the build works fine. You likely did not run |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks. However, now it is failing for I do have webdriver installed, but it is picking up ChromeDriver... I see that in CI, it is calling webdriver.. Not sure what is missing here. Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
With perspective master branch, it builds fine in python setup but failing to build in Javascript setup with following error:
Steps to Reproduce:
Expected Result:
Build to work fine.
Actual Result:
After doing google search, it seems this is babel optional-chaining feature which webpack is not recognizing. I checked
I have @babel/preset-env plugin. These are the versions of babel and webpack on my system
axihemant@hb-finos:~/finos/perspective$ npm list webpack
/home/baxihemant/finos/perspective
└── webpack@4.46.0
baxihemant@hb-finos:~/finos/perspective$ npm list babel
/home/baxihemant/finos/perspective
└── babel@6.23.0
baxihemant@hb-finos:~/finos/perspective$ npm list babel-cli
/home/baxihemant/finos/perspective
└── babel-cli@6.26.0
baxihemant@hb-finos:~/finos/perspective$ npm list @babel/preset-env
/home/baxihemant/finos/perspective
└── @babel/preset-env@7.14.2
Environment:
master branch
OS : Ubuntu 20.10
npm -v
6.14.8
Virtualized environment
Thanks,
Hemant
Beta Was this translation helpful? Give feedback.
All reactions