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

dapp-treasury is failing CI on Agoric SDK master #5592

Closed
michaelfig opened this issue Jun 14, 2022 · 0 comments · Fixed by Agoric/dapp-treasury#125
Closed

dapp-treasury is failing CI on Agoric SDK master #5592

michaelfig opened this issue Jun 14, 2022 · 0 comments · Fixed by Agoric/dapp-treasury#125
Assignees
Labels
bug Something isn't working

Comments

@michaelfig
Copy link
Member

Describe the bug

dapp-treasury is failing CI https://github.com/Agoric/agoric-sdk/runs/6886341599?check_suite_focus=true#step:11:21 says:

> @agoric/dapp-treasury-ui
$ yarn build:ses && yarn build:react
$ cp ../node_modules/ses/dist/lockdown.umd.js public/
$ react-scripts build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Failed to compile.
/home/runner/work/agoric-sdk/agoric-sdk/agoric-sdk/packages/casting/src/defaults.js 36:56
Module parse failed: Identifier directly after number (36:56)
File was processed with these loaders:
 * ../node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|  */
| 
> export const exponentialBackoff = (attempt = 0, base = 1_000, cap = 30_000) => {
|   return randomBackoff(2 ** attempt * base, cap);
| };
error Command failed with exit code 1.

We apparently need to upgrade react-scripts in that package.

To Reproduce

Run CI on any branch based off current master.

Expected behavior

Clean CI run.

Platform Environment

  • what OS are you using? what version of Node.js?
  • is there anything special/unusual about your platform?
  • what version of the Agoric-SDK are you using? (run git describe --tags --always)

Additional context

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem, especially for UI interactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants