nektos / act

Run your GitHub Actions locally 🚀
https://nektosact.com
MIT License
54.1k stars 1.35k forks source link

Issue: initial setup error: cipm error #842

Closed strarsis closed 2 years ago

strarsis commented 2 years ago

System information

Expected behaviour

act should set up and start correctly.

Actual behaviour

Error during initial setup.

Workflow and/or repository

https://github.com/strarsis/pannellum-translation

Steps to reproduce

  1. Install act on workstation (bash-script approach).
  2. Clone / cd into the repository (pannellum-translation).
  3. Invoke act, select micro. Notice the error that occurs after some setup time.

act output

log ``` DEBU[0000] Loading environment from /home/build/src/pannellum-translation/.env DEBU[0000] Loading secrets from /home/build/src/pannellum-translation/.secrets DEBU[0000] Loading workflows from '/home/build/src/pannellum-translation/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'lint.yml' in '/home/build/src/pannellum-translation/.github/workflows/lint.yml' DEBU[0000] Reading workflow '/home/build/src/pannellum-translation/.github/workflows/lint.yml' DEBU[0000] Correcting if statements '/home/build/src/pannellum-translation/.github/workflows/lint.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0000] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0000] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0000] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0000] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0000] using github ref: refs/heads/master DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[] [Lint/Run linters] 🚀 Start image=node:12-buster-slim DEBU[0000] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0000] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0000] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0000] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0000] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0000] using github ref: refs/heads/master [Lint/Run linters] 🐳 docker pull node:12-buster-slim DEBU[0000] Image exists? true [Lint/Run linters] Removed container: c8f17290956b1fc8a2af7607de95982eb88e7604ccf530a72fa090379a5d190b [Lint/Run linters] 🐳 docker volume rm act-Lint-Run-linters [Lint/Run linters] 🐳 docker create image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Lint/Run linters] Created container name=act-Lint-Run-linters id=43d6e2fc44b567a02b4b3994fe0aa971a5c0421b2b5ebbb1e6e250c9821efafe from image node:12-buster-slim (platform: ) [Lint/Run linters] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [Lint/Run linters] 🐳 docker run image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Lint/Run linters] Starting container: 43d6e2fc44b567a02b4b3994fe0aa971a5c0421b2b5ebbb1e6e250c9821efafe [Lint/Run linters] Started container: 43d6e2fc44b567a02b4b3994fe0aa971a5c0421b2b5ebbb1e6e250c9821efafe [Lint/Run linters] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [Lint/Run linters] Exec command '[mkdir -m 0777 -p /var/run/act]' [Lint/Run linters] 🐳 docker cp src=/home/build/src/pannellum-translation/. dst=/home/build/src/pannellum-translation [Lint/Run linters] 🐳 docker exec cmd=[mkdir -p /home/build/src/pannellum-translation] user= [Lint/Run linters] Exec command '[mkdir -p /home/build/src/pannellum-translation]' DEBU[0002] Writing tarball /tmp/act400229510 from /home/build/src/pannellum-translation/. DEBU[0002] Stripping prefix:/home/build/src/pannellum-translation/ src:/home/build/src/pannellum-translation/. [Lint/Run linters] Extracting content from '/tmp/act400229510' to '/home/build/src/pannellum-translation' DEBU[0002] Writing entry to tarball workflow/event.json len:2 DEBU[0002] Writing entry to tarball workflow/envs.txt len:0 DEBU[0002] Writing entry to tarball workflow/paths.txt len:0 [Lint/Run linters] Extracting content to '/var/run/act/' DEBU[0002] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0002] using github ref: refs/heads/master DEBU[0002] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0002] using github ref: refs/heads/master DEBU[0002] context env => map[ACT:true] DEBU[0002] context needs => map[] DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] ⭐ Run Check out Git repository DEBU[0002] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0002] using github ref: refs/heads/master [Lint/Run linters] Skipping local actions/checkout because workdir was already copied DEBU[0002] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0002] using github ref: refs/heads/master DEBU[0002] context env => map[ACT:true] DEBU[0002] context needs => map[] DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] ✅ Success - Check out Git repository DEBU[0002] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0002] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0002] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0002] using github ref: refs/heads/master DEBU[0003] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0003] using github ref: refs/heads/master DEBU[0003] context env => map[ACT:true] DEBU[0003] context needs => map[] DEBU[0003] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0003] using github ref: refs/heads/master DEBU[0003] context env => map[ACT:true] DEBU[0003] context needs => map[] DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation INPUT_NODE-VERSION:12 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] setupEnv => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation INPUT_NODE-VERSION:12 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] ⭐ Run Set up Node.js DEBU[0003] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0003] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0003] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0003] using github ref: refs/heads/master INFO[0003] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 DEBU[0003] cloning https://github.com/actions/setup-node to /home/build/.cache/act/actions-setup-node@v1 DEBU[0003] Unable to pull refs/heads/v1: non-fast-forward update DEBU[0003] Cloned https://github.com/actions/setup-node to /home/build/.cache/act/actions-setup-node@v1 DEBU[0003] Checked out v1 DEBU[0003] Read action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js [] [] []} { }} from 'Unknown' DEBU[0003] About to run action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js [] [] []} { }} DEBU[0003] type=3 actionDir=/home/build/.cache/act/actions-setup-node@v1 actionPath= Workdir=/home/build/src/pannellum-translation ActionCacheDir=/home/build/.cache/act actionName=actions-setup-node@v1 containerActionDir=/var/run/act/actions/actions-setup-node@v1 DEBU[0003] Removing /home/build/.cache/act/actions-setup-node@v1/.gitignore before docker cp [Lint/Run linters] 🐳 docker cp src=/home/build/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/ [Lint/Run linters] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= [Lint/Run linters] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v1/]' DEBU[0004] Writing tarball /tmp/act035788333 from /home/build/.cache/act/actions-setup-node@v1/ DEBU[0004] Stripping prefix:/home/build/.cache/act/actions-setup-node@v1/ src:/home/build/.cache/act/actions-setup-node@v1/ [Lint/Run linters] Extracting content from '/tmp/act035788333' to '/var/run/act/actions/actions-setup-node@v1/' DEBU[0004] executing remote job container: [node /var/run/act/actions/actions-setup-node@v1/dist/index.js] [Lint/Run linters] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user= [Lint/Run linters] Exec command '[node /var/run/act/actions/actions-setup-node@v1/dist/index.js]' [Lint/Run linters] 💬 ::debug::isExplicit: [Lint/Run linters] 💬 ::debug::explicit? false [Lint/Run linters] 💬 ::debug::evaluating 0 versions [Lint/Run linters] 💬 ::debug::match not found [Lint/Run linters] 💬 ::debug::evaluating 487 versions [Lint/Run linters] 💬 ::debug::matched: v12.22.7 [Lint/Run linters] 💬 ::debug::isExplicit: 12.22.7 [Lint/Run linters] 💬 ::debug::explicit? true [Lint/Run linters] 💬 ::debug::checking cache: /opt/hostedtoolcache/node/12.22.7/x64 [Lint/Run linters] 💬 ::debug::not found [Lint/Run linters] 💬 ::debug::Downloading https://nodejs.org/dist/v12.22.7/node-v12.22.7-linux-x64.tar.gz [Lint/Run linters] 💬 ::debug::Destination /tmp/f5f5d69e-f357-4a1d-a73f-53e4ed122ad8 [Lint/Run linters] 💬 ::debug::download complete [Lint/Run linters] 💬 ::debug::Checking tar --version [Lint/Run linters] 💬 ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later .%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason. | [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/db76c908-9509-4aea-a8e0-a29e1bdfcba4 -f /tmp/f5f5d69e-f357-4a1d-a73f-53e4ed122ad8 [Lint/Run linters] 💬 ::debug::Caching tool node 12.22.7 x64 [Lint/Run linters] 💬 ::debug::source dir: /tmp/db76c908-9509-4aea-a8e0-a29e1bdfcba4/node-v12.22.7-linux-x64 [Lint/Run linters] 💬 ::debug::destination /opt/hostedtoolcache/node/12.22.7/x64 [Lint/Run linters] 💬 ::debug::finished caching tool | [command]/opt/hostedtoolcache/node/12.22.7/x64/bin/node --version | v12.22.7 | [command]/opt/hostedtoolcache/node/12.22.7/x64/bin/npm --version | 6.14.15 [Lint/Run linters] ❓ ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/tsc.json [Lint/Run linters] ❓ ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/eslint-stylish.json [Lint/Run linters] ❓ ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/eslint-compact.json DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/var/run/act/actions/actions-setup-node@v1 GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation INPUT_ALWAYS-AUTH:false INPUT_NODE-VERSION:12 INPUT_REGISTRY-URL: INPUT_SCOPE: INPUT_VERSION: ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] ✅ Success - Set up Node.js DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] Loading slug from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] Loading revision from git directory '/home/build/src/pannellum-translation/.git' DEBU[0048] Found revision: 425336bbc7552d8a5ddd44a7b3c6764d17651c07 DEBU[0048] HEAD points to '425336bbc7552d8a5ddd44a7b3c6764d17651c07' DEBU[0048] using github ref: refs/heads/master DEBU[0048] context env => map[ACT:true] DEBU[0048] context needs => map[] DEBU[0048] context env => map[ACT:true CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation ImageOS:ubuntu20 PATH:/opt/hostedtoolcache/node/12.22.7/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] setupEnv => map[ACT:true CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:Run linters GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:strarsis/pannellum-translation GITHUB_REPOSITORY_OWNER:strarsis GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:425336bbc7552d8a5ddd44a7b3c6764d17651c07 GITHUB_TOKEN: GITHUB_WORKFLOW:Lint GITHUB_WORKSPACE:/home/build/src/pannellum-translation ImageOS:ubuntu20 PATH:/opt/hostedtoolcache/node/12.22.7/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Lint/Run linters] ⭐ Run Install Node.js dependencies DEBU[0048] Wrote command ' npm ci ' to 'workflow/2' DEBU[0048] Writing entry to tarball workflow/2 len:6 [Lint/Run linters] Extracting content to '/home/build/src/pannellum-translation' [Lint/Run linters] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/build/src/pannellum-translation/workflow/2] user= [Lint/Run linters] Exec command '[bash --noprofile --norc -e -o pipefail /home/build/src/pannellum-translation/workflow/2]' | npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again. | | npm ERR! A complete log of this run can be found in: | npm ERR! /root/.npm/_logs/2021-10-16T10_36_11_225Z-debug.log DEBU[0049] exit with `FAILURE`: 1 [Lint/Run linters] ❌ Failure - Install Node.js dependencies DEBU[0049] exit with `FAILURE`: 1 DEBU[0049] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ```
catthehacker commented 2 years ago

Error tells you exactly what you need to do

catthehacker commented 2 years ago
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 070c1ce..8335a3b 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -24,6 +24,8 @@ jobs:
         with:
           node-version: 12

+      - run: npm --version ; ls -lah ; npm i
+
       # ESLint and Prettier must be in `package.json`
       - name: Install Node.js dependencies
         run: npm ci
strarsis commented 2 years ago

@catthehacker: So when I understand this correctly, the project is missing a npm lockfile, right?

catthehacker commented 2 years ago

Yes

[Lint/Run linters]   💬  ::debug::finished caching tool
| [command]/opt/hostedtoolcache/node/12.22.7/x64/bin/node --version
| v12.22.7
| [command]/opt/hostedtoolcache/node/12.22.7/x64/bin/npm --version
| 6.14.15
[Lint/Run linters]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/tsc.json
[Lint/Run linters]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/eslint-stylish.json
[Lint/Run linters]   ❓  ##[add-matcher]/run/act/actions/actions-setup-node@v1/.github/eslint-compact.json
[Lint/Run linters]   ✅  Success - Set up Node.js
[Lint/Run linters] ⭐  Run npm --version ; ls -lah ; npm i
[Lint/Run linters]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/redacted/pannellum-translation/workflow/2] user=
| 6.14.15
| total 124K
| drwxr-xr-x 5 root root 4.0K Oct 17 19:51 .
| drwxr-xr-x 3 root root 4.0K Oct 17 19:51 ..
| -rw-r--r-- 1 1001 1001  178 Oct 17 19:48 .editorconfig
| drwxr-xr-x 7 root root 4.0K Oct 17 19:51 .git
| drwxr-xr-x 3 root root 4.0K Oct 17 19:51 .github
| -rw-r--r-- 1 1001 1001   29 Oct 17 19:48 .prettierrc
| -rw-r--r-- 1 1001 1001 1.4K Oct 17 19:48 DE-formal.json
| -rw-r--r-- 1 1001 1001 1.4K Oct 17 19:48 DE.json
| -rw-r--r-- 1 1001 1001  895 Oct 17 19:48 DK.json
| -rw-r--r-- 1 1001 1001  992 Oct 17 19:48 ES.json
| -rw-r--r-- 1 1001 1001  937 Oct 17 19:48 FI.json
| -rw-r--r-- 1 1001 1001 1014 Oct 17 19:48 FR.json
| -rw-r--r-- 1 1001 1001  932 Oct 17 19:48 HU.json
| -rw-r--r-- 1 1001 1001  937 Oct 17 19:48 ID.json
| -rw-r--r-- 1 1001 1001  996 Oct 17 19:48 IT.json
| -rw-r--r-- 1 1001 1001 1.2K Oct 17 19:48 JP.json
| -rw-r--r-- 1 1001 1001 1.1K Oct 17 19:48 KR.json
| -rw-r--r-- 1 1001 1001 1.1K Oct 17 19:48 LICENSE
| -rw-r--r-- 1 1001 1001 1.3K Oct 17 19:48 MK.json
| -rw-r--r-- 1 1001 1001  958 Oct 17 19:48 MX.json
| -rw-r--r-- 1 1001 1001  935 Oct 17 19:48 NL.json
| -rw-r--r-- 1 1001 1001  947 Oct 17 19:48 PL.json
| -rw-r--r-- 1 1001 1001 1.6K Oct 17 19:48 README.md
| -rw-r--r-- 1 1001 1001  968 Oct 17 19:48 RO.json
| -rw-r--r-- 1 1001 1001 1.5K Oct 17 19:48 RU.json
| -rw-r--r-- 1 1001 1001  915 Oct 17 19:48 SE.json
| -rw-r--r-- 1 1001 1001 1002 Oct 17 19:48 TR.json
| -rw-r--r-- 1 1001 1001  857 Oct 17 19:48 US.json
| -rw-r--r-- 1 1001 1001  850 Oct 17 19:48 ZH-CN.json
| -rw-r--r-- 1 1001 1001  633 Oct 17 19:48 package.json
| drwxr-xr-x 2 root root 4.0K Oct 17 19:51 workflow
| npm notice created a lockfile as package-lock.json. You should commit this file.
| up to date in 0.418s
| found 0 vulnerabilities
|
[Lint/Run linters]   ✅  Success - npm --version ; ls -lah ; npm i
[Lint/Run linters] ⭐  Run Install Node.js dependencies
[Lint/Run linters]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/redacted/pannellum-translation/workflow/3] user=
| added 0 packages in 0.019s
[Lint/Run linters]   ✅  Success - Install Node.js dependencies
[Lint/Run linters] ⭐  Run Run linter
INFO[0017]   ☁  git clone 'https://github.com/wearerequired/lint-action' # ref=v1
[Lint/Run linters]   🐳  docker cp src=/home/redacted/.cache/act/wearerequired-lint-action@v1/ dst=/var/run/act/actions/wearerequired-lint-action@v1/
[Lint/Run linters]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/wearerequired-lint-action@v1/] user=
[Lint/Run linters]   🐳  docker exec cmd=[node /var/run/act/actions/wearerequired-lint-action@v1/dist/index.js] user