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

Bug: Build and deploy to Netlify action failing #295

Closed
edasmalchi opened this issue Nov 28, 2023 · 1 comment
Closed

Bug: Build and deploy to Netlify action failing #295

edasmalchi opened this issue Nov 28, 2023 · 1 comment
Assignees

Comments

@edasmalchi
Copy link
Member

Describe the bug

Action failing on "Deploy development to Netlify" step.

+ netlify-cli@17.8.0
added 1396 packages from 878 contributors and audited 1449 packages in 28.769s

220 packages are looking for funding
  run `npm fund` for details

found 4 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
file:///usr/local/lib/node_modules/netlify-cli/node_modules/listr2/dist/index.js:[216](https://github.com/cal-itp/reports/actions/runs/7022964778/job/19108943875#step:12:217)
    this.options.fields ??= ***;
                        ^^^

SyntaxError: Unexpected token '??='
    at Loader.moduleStrategy (internal/modules/esm/translators.js:149:18)
Error: Process completed with exit code 1.

To Reproduce
Steps to reproduce the behavior:

  1. Run Action via any trigger.

Expected behavior
Action completes successfully.

Additional context

Action is pinned to an older version of GitHub's setup_node, updating may fix. See for example:

https://github.com/actions/setup-node/releases/tag/v4.0.0
actions/setup-node#866
actions/setup-node#850

Eric and Christian to pair on Wed Nov 29.

@edasmalchi
Copy link
Member Author

fixed in #296 !

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

No branches or pull requests

2 participants