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
Seeing the following error with 1.85. I do not see this issue with 1.84. Add @babel/plugin-syntax-import-meta to my packages.json babel{} plugins config makes no difference!
`....node_modules\cesium\Source\ThirdParty\zip.js: Support for the experimental syntax 'importMeta' isn't currently enabled (1565:73):
Add @babel/plugin-syntax-import-meta (https://git.io/vbKK6) to the 'plugins' section of your Babel config to enable parsing.
at Parser.raise (...\node_modules@babel\parser\lib\index.js:3831:17):`
The text was updated successfully, but these errors were encountered:
@ebogo1 Looks like another issue with zip.js in the latest release (also #9790). This is a regression from #9706. I marked this issue as priority - next release.
@RobHills-Airborne without more information I don't think this is a separate issue from #9790, so I'll close this as well for now. There are several comments in #9790 about using @open-wc/webpack-import-meta-loader with rollup, which is a known workaround for older versions of webpack. My comment (#9790 (comment)) also mentions an alternative workaround that might be helpful. Thanks for reporting this!
Uh oh!
There was an error while loading. Please reload this page.
Seeing the following error with 1.85. I do not see this issue with 1.84. Add @babel/plugin-syntax-import-meta to my packages.json babel{} plugins config makes no difference!
`....node_modules\cesium\Source\ThirdParty\zip.js: Support for the experimental syntax 'importMeta' isn't currently enabled (1565:73):
�[0m �[90m 1563 | �[39m �[36mif�[39m (�[33m!�[39mworkerData�[33m.�[39minterface) {�[0m
�[0m �[90m 1564 | �[39m �[36mtry�[39m {�[0m
�[0m�[31m�[1m>�[22m�[39m�[90m 1565 | �[39m workerData�[33m.�[39mworker �[33m=�[39m �[36mnew�[39m �[33mWorker�[39m(�[36mnew�[39m �[33mURL�[39m(workerData�[33m.�[39mscripts[�[35m0�[39m]�[33m,�[39m �[36mimport�[39m�[33m.�[39mmeta�[33m.�[39murl))�[33m;�[39m�[0m
�[0m �[90m | �[39m �[31m�[1m^�[22m�[39m�[0m
�[0m �[90m 1566 | �[39m } �[36mcatch�[39m (error) {�[0m
�[0m �[90m 1567 | �[39m workerData�[33m.�[39mworker �[33m=�[39m �[36mnew�[39m �[33mWorker�[39m(�[36mnew�[39m �[33mURL�[39m(workerData�[33m.�[39mscripts[�[35m0�[39m]�[33m,�[39m �[36mimport�[39m�[33m.�[39mmeta�[33m.�[39murl)�[33m,�[39m { type�[33m:�[39m �[32m"module"�[39m })�[33m;�[39m�[0m
�[0m �[90m 1568 | �[39m }�[0m
Add @babel/plugin-syntax-import-meta (https://git.io/vbKK6) to the 'plugins' section of your Babel config to enable parsing.
at Parser.raise (...\node_modules@babel\parser\lib\index.js:3831:17):`
The text was updated successfully, but these errors were encountered: