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

Github workflow fails at bahmutov/npm-install@v1 #164

Open
alpacahaircut opened this issue Jan 7, 2023 · 0 comments
Open

Github workflow fails at bahmutov/npm-install@v1 #164

alpacahaircut opened this issue Jan 7, 2023 · 0 comments

Comments

@alpacahaircut
Copy link

Workflow generated by TSDX basic template fails at bahmutov/npm-install@v1 with output:

Run bahmutov/npm-install@v1
running npm-install GitHub Action
trying to restore cached NPM modules
npm cache hit undefined
installing NPM dependencies
npm at "/opt/hostedtoolcache/node/10.24.1/x64/bin/npm"
/opt/hostedtoolcache/node/10.24.1/x64/bin/npm ci
npm ERR! Cannot read property '@size-limit/preset-small-lib' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2023-01-07T21_13_26_657Z-debug.log
Error: The process '/opt/hostedtoolcache/node/10.24.1/x64/bin/npm' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/bahmutov/npm-install/v1/dist/index.js:1016:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/bahmutov/npm-install/v1/dist/index.js:999:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/bahmutov/npm-install/v1/dist/index.js:893:27)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
Error: The process '/opt/hostedtoolcache/node/10.24.1/x64/bin/npm' failed with exit code 1

operating system: ubuntu 20.04.5, (LTS)
node version: v10.24.1
npm version: 6.14.12

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

1 participant