-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
We can observe that after installing the Node.js version 22.5.0 on the Github ubuntu-latest runner no node_modules/.bin folder is being created for package installations. This renders all utils, like eslint or mocha unavailable. The same works fine with previous node versions.
See the job https://github.com/appium/appium-mac2-driver/actions/runs/10004344335/job/27652861367?pr=311 for more details.
All other jobs with lower node versions pass with exactly the same config.
Expected Behavior
The node_modules/.bin folder must be there after package installation.
Steps To Reproduce
- ubuntu-latest GH actions image
- https://github.com/appium/appium-mac2-driver/blob/a05fa4b38803dbf1e6b1d46567be4d9c21d3284f/.github/workflows/unit-test.yml
- Run
npm installthen runnpm run lint - Error in the terminal: eslint: command not found
Environment
- npm: 10.8.2
- Node.js: 22.5.0
- OS Name: ubuntu-latest (24.04)
- System Model Name: GH Actions Runner
- npm config: -
petrprikryl
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps