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

ci: fix size impact script Node.js version #2407

Merged
merged 1 commit into from Jul 24, 2022
Merged

Conversation

guybedford
Copy link
Member

Fixes up the Node.js version to work with the current build scripts.

@guybedford guybedford merged commit 8fe7ac2 into main Jul 24, 2022
@guybedford guybedford deleted the size-impact-fix branch July 24, 2022 09:47
@github-actions
Copy link


Error: Error while trying to generate a snapshot for main.

Error: Command failed: npm run-script build
file:///home/runner/work/systemjs/systemjs//[cm]:7
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:7
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:5
  const { code, map, assets } = await ncc(path.resolve(process.env.DEP), {
                                ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
file:///home/runner/work/systemjs/systemjs//[cm]:4
  const bundle = await rollup({
                 ^^^^^

SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async link (internal/modules/esm/module_job.js:42:21)
Unable to complete all tasks.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! systemjs@6.12.1 build: `chomp build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the systemjs@6.12.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-07-24T09_48_14_990Z-debug.log

    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:314:20)
    at maybeClose (internal/child_process.js:1051:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)

Generated by file size impact during size-impact#2726801878

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

Successfully merging this pull request may close these issues.

None yet

1 participant