Skip to content

Getting error when running a project that depends on esbuild #120

@liorp

Description

@liorp

Hi,
I'm writing a react library using tsdx which recommends using this action.
My library has a devDependency of esbuild, which causes this beauty:

Run bahmutov/npm-install@v1.6.0
running npm-install GitHub Action
trying to restore cached NPM modules
npm cache hit undefined
installing NPM dependencies
npm at "/opt/hostedtoolcache/node/14.18.[3](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:3)/x6[4](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:4)/bin/npm"
/opt/hostedtoolcache/node/14.18.3/x64/bin/npm ci
npm ERR! esbuild-android-arm64 not accessible from esbuild

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-02-04T16_43_[5](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:5)2_[6](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:6)15Z-debug.log
Error: The process '/opt/hostedtoolcache/node/14.18.3/x64/bin/npm' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/bahmutov/npm-install/v1.6.0/dist/index.js:969:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/bahmutov/npm-install/v1.6.0/dist/index.js:952:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/bahmutov/npm-install/v1.6.0/dist/index.js:846:2[7](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:7))
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:2[8](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:8)3:5)
Error: The process '/opt/hostedtoolcache/node/[14](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:14).[18](https://github.com/liorp/react-hotkeys-docs-hook/runs/5069688276?check_suite_focus=true#step:4:18).3/x64/bin/npm' failed with exit code 1

What's wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions