Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn test fails with error from Terser #5784

Closed
felixpalmer opened this issue May 17, 2021 · 2 comments
Closed

yarn test fails with error from Terser #5784

felixpalmer opened this issue May 17, 2021 · 2 comments
Labels

Comments

@felixpalmer
Copy link
Collaborator

Description

Running yarn test leads to the following error message:


1..5272
# tests 5272
# pass  5272

# ok

browser-driver: Browser Test completed in 385.7s.
browser-driver: Browser Test successful: All tests passed

Automatically collecting metrics for deck.gl-monorepo

| Version        | Dist | Bundle Size      | Compressed     | Imports   |
| ---            | ---  | ---              | ---            | ---       |

ERROR in size.js from Terser
Unexpected token: punc (.) [size.js:50278,38]
wc: *: open: No such file or directory
gzip: can't stat: * (*): No such file or directory
wc: *.gz: open: No such file or directory
rm: *.gz: No such file or directory
| 8.5.0-alpha.5 | es5  |  KB  |  KB     | *

ERROR in size.js from Terser
Unexpected token: punc (.) [size.js:31584,38]
wc: *: open: No such file or directory
gzip: can't stat: * (*): No such file or directory
wc: *.gz: open: No such file or directory
rm: *.gz: No such file or directory
| 8.5.0-alpha.5 | esm  |  KB  |  KB     | *

ERROR in size.js from Terser
Unexpected token: punc (.) [size.js:30169,38]
wc: *: open: No such file or directory
gzip: can't stat: * (*): No such file or directory
wc: *.gz: open: No such file or directory
rm: *.gz: No such file or directory
| 8.5.0-alpha.5 | es6  |  KB  |  KB     | *
✨  Done in 468.60s.

All the tests pass OK and running yarn test fast and yarn test ci is without problems.

Expected Behavior

yarn test completes without an error

Repro Steps

  • Check our master branch into clean directory
  • run yarn
  • run yarn test

Environment

  • Framework Version: 8.5.0-alpha.5
  • Browser Version: -- (invoked using CLI)
  • OS: Mac OS X 10.14.4, node

Things tried

  • Reinstalling node & npm & yarn
  • Manually upgrading webpack to 4.46.0 and terser-webpack-plugin to 1.4.5 (latest versions)
@Pessimistress
Copy link
Collaborator

Yes metrics reporting emits error and it should be fixed. But it doesn't make yarn test fail.

@Pessimistress
Copy link
Collaborator

Tracking with uber-web/ocular#362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants