Skip to content

Bug: Build and deploy to Netlify action failing #295

Description

@edasmalchi

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions