Skip to content

Attempted to cache: .cache ... but failed. :( #27

@nomeata

Description

@nomeata

I am trying to use this plugin, but I get the relatively unhelpful message

11:17:54 PM: ────────────────────────────────────────────────────────────────
11:17:54 PM:   5. netlify-plugin-cache (onSuccess event)                     
11:17:54 PM: ────────────────────────────────────────────────────────────────
11:17:54 PM: ​
11:17:56 PM: Attempted to cache: .cache ... but failed. :(
11:17:56 PM: Try setting the 'paths' input appropriately in your netlify.toml configuration.
11:17:56 PM: More details: https://jrvs.io/netlify-cache-usage
11:17:56 PM: ​
11:17:56 PM: (netlify-plugin-cache onSuccess completed in 2s)

I have

[[plugins]]
package = "netlify-plugin-cache"
  [plugins.inputs]
  paths = [".cache"]

and my build command really writes stuff to .cache.

What could that be? And could the error message be more helpful?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions