You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: Unable to locate executable file: pnpm #530
Found in cache @ /opt/hostedtoolcache/node/14.19.3/x64
Error: Unable to locate executable file: pnpm. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
If I disable PNPM cache and install PNPM manually, it works for now:
name: CI & CD
on:
push:
branches:
- master
jobs:
Build-and-Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- cache: pnpm+ - name: Install PNPM+ run: npm i -g pnpm
- name: Install & Build
run: pnpm i && pnpm build
Hello @TechQuery. Thank you for your report. It's an expected behaviour because pnpm should be preinstalled before the setup-node action. Please refer to the documentation for pnpm caching.
For now I'm going to close the issue.
Reacted by Imamuzzaki Abu Salam, Ray Foss, André Kuhlmann, Volodymyr Radchenko, Gabriel Castillo, Gökhan Alkacir, Jean Pierre, Brian Zhou, Pavlo Zhytomyrskyi, Valerii and 12 more
Hello @TechQuery. Thank you for your report. It's an expected behaviour because pnpm should be preinstalled before the setup-node action. Please refer to the documentation for pnpm caching.
For now I'm going to close the issue.
Thank you, can you explain how to do this please. I am new to this.
Activity
dmitry-shibanov commentedon Jun 28, 2022
Hello @TechQuery. Thank you for your report. It's an expected behaviour because
pnpmshould be preinstalled before the setup-node action. Please refer to the documentation for pnpm caching.For now I'm going to close the issue.
TechQuery commentedon Jun 29, 2022
@dmitry-shibanov , thanks for your answer, I fixed it with the Advanced Document.
Setup pnpm before node, as required
https://github.com/actions/setup-node/issues/530
ci: pnpm should be installed before node for proper caching
fix(ci): switch order as per actions/setup-node#530 (comment)
chore(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 (act…
fix: pnpm 에러 고침
fix: pnpm 에러 고침
fix: pnpm 에러 고침
landed1 commentedon Dec 30, 2024
Thank you, can you explain how to do this please. I am new to this.
TechQuery commentedon Dec 30, 2024
@landed1 Here is an example for new guys: https://github.com/EasyWebApp/WebCell/blob/8d1df6ef74c8d0839fc441044669ec6706cdd88b/.github/workflows/main.yml#L13-L24
fix(ci): pnpm/action-setup до actions/setup-node — CI падал на порядк…