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

Error: Error: Specify a name and data to cache #3

Open
Kaperskyguru opened this issue Jul 19, 2021 · 1 comment
Open

Error: Error: Specify a name and data to cache #3

Kaperskyguru opened this issue Jul 19, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@Kaperskyguru
Copy link
Owner

  "type": "Error",
  "message": "Error: Specify a name and data to cache",
  "stack":
      Error: Error: Specify a name and data to cache
          at ForumsController.show (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/app/Controllers/Http/ForumsController.ts:43:27)
          at processTicksAndRejections (internal/process/task_queues.js:93:5)
          at Object.PreCompiler.runRouteHandler [as fn] (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@adonisjs/core/node_modules/@adonisjs/http-server/build/src/Server/PreCompiler/index.js:47:31)
          at AuthMiddleware.handle (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/app/Middleware/Auth.ts:69:5)
          at Server.handleRequest (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@adonisjs/core/node_modules/@adonisjs/http-server/build/src/Server/index.js:109:13)
}

Error: Specify a name and data to cache
at Cache.set (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@kaperskyguru/adonis-cache/build/src/Consumers/Cache.js:21:15)
at Cache.remember (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@kaperskyguru/adonis-cache/build/src/Consumers/Cache.js:44:24)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at ForumsController.show (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/app/Controllers/Http/ForumsController.ts:28:21)
at Object.PreCompiler.runRouteHandler [as fn] (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@adonisjs/core/node_modules/@adonisjs/http-server/build/src/Server/PreCompiler/index.js:47:31)
at AuthMiddleware.handle (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/app/Middleware/Auth.ts:69:5)
at Server.handleRequest (/Users/solomon/Documents/workspace/JSProjects/adonisjs-forum-api/node_modules/@adonisjs/core/node_modules/@adonisjs/http-server/build/src/Server/index.js:109:13)

@Kaperskyguru Kaperskyguru added the good first issue Good for newcomers label Jul 19, 2021
@asterism612
Copy link

Same Error

@github-staff github-staff deleted a comment May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants