mujo-code / puppeteer-headful

Github Action for puppeteer that is headful.
MIT License
100 stars 41 forks source link

Cannot find npm cache on GitHub actions #130

Closed ianwolson closed 8 months ago

ianwolson commented 1 year ago

Hello, I am running into an issue trying to get this to work with my project.

It seems to fail on the "Install Dependencies" step, and therefore the extension cannot be built and the tests fail. The "Install Dependency" step fails due to it not finding the npm cache.

Is there something I am doing wrong? Here is the error and my .yml file.

Run actions/setup-node@v3 with: node-version: 18.x cache: npm always-auth: false check-latest: false token: * env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true Found in cache @ /opt/hostedtoolcache/node/18.16.0/x64 Environment details node: v18.16.0 npm: 9.5.1 yarn: 1.22.19 /opt/hostedtoolcache/node/18.16.0/x64/bin/npm config get cache /home/runner/.npm npm cache is not found**

test.txt

amaurypichat commented 8 months ago

Hi,did you succeed ?

ianwolson commented 8 months ago

Yes, one day it just started working with no explanation. Very bizarre issue.