-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Heroku custom cacheing is not working #435
Comments
How are you invoking
If you aren't invoking |
Top level package.json runs: |
Yes, but if it does that using the |
Thank you very much! I now used In fact, I think I could use any of |
I have toplevel package.json where I set cacheDirectories as per https://devcenter.heroku.com/articles/nodejs-support#custom-caching
So no dependencies in toplevel, but I have frontend/package.json and mockserver/package.json with a lot of dependencies that get installed in their respective node_modules. This is how the respective package.jsons look like (for example mockserver):
This works fine and deploys, but it does not cache the the two node_modules defined to be cached.
Here is the output from heroku build:
Just to note that the two node_modules were installed in the previous build but it says (not cached - skipping).
Thanks in advance!
The text was updated successfully, but these errors were encountered: