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
Milestone

Comments

@kpdecker
Copy link
Contributor

@kpdecker 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
@hueniverse hueniverse closed this in 8f12152 Aug 7, 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants