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

No longer possible to load caches using CLI? #1840

Closed
kpdecker opened this issue Aug 6, 2014 · 0 comments
Closed

No longer possible to load caches using CLI? #1840

kpdecker opened this issue Aug 6, 2014 · 0 comments
Assignees
Labels
bug Bug or defect
Milestone

Comments

@kpdecker
Copy link
Contributor

kpdecker commented Aug 6, 2014

./node_modules/hapi/node_modules/hoek/lib/index.js:425
    throw new Error(msgs.join(' ') || 'Unknown error');
          ^
Error: Invalid pack options  {
  "cache" [2, 3]: [
    null
  ]
}

[1] cache must be a Function
[2] cache must be an object
[3] cache position 0 fails because engine must be an object, engine must be a Function
    "pack": {
        "cache": [{
            "engine": "catbox-memory",
            "shared": true
        }]
    }

The migration guide states that this now must be an object or a function but does not elaborate on what sort of object is required to make this work when the source is a JSON file.

@hueniverse hueniverse added the bug label Aug 6, 2014
@hueniverse hueniverse added this to the 6.5.0 milestone Aug 6, 2014
@hueniverse hueniverse self-assigned this Aug 6, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

2 participants