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

figure out the source of the error #216

Closed
bahmutov opened this issue Feb 14, 2024 · 2 comments
Closed

figure out the source of the error #216

bahmutov opened this issue Feb 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bahmutov
Copy link
Owner

saving NPM modules
saving npm cache failed with Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved., continuing...
@bahmutov bahmutov added the bug Something isn't working label Feb 14, 2024
bahmutov added a commit that referenced this issue Feb 14, 2024
@bahmutov
Copy link
Owner Author

Fixed in v1.9.0

@fzaninotto
Copy link

I'm still seeing this error when using your action. I use a very simple setup:

    unit-test:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout
              uses: actions/checkout@v4
            - uses: bahmutov/npm-install@v1.9.0
            - name: Unit Tests
              run: make test-unit
              env:
                  CI: true

And I get the same error:

saving npm cache failed with Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved., continuing...

cf https://github.com/marmelab/react-admin/actions/runs/8946080813/job/24576130901

Is there something special to do to get the cache working with yarn on ubuntu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants