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

following quickstart, get "No class found for serializer:raw" #417

Open
shaunc opened this issue Nov 27, 2017 · 1 comment
Open

following quickstart, get "No class found for serializer:raw" #417

shaunc opened this issue Nov 27, 2017 · 1 comment

Comments

@shaunc
Copy link

shaunc commented Nov 27, 2017

Having created a new app, trying it out I get:

Unable to find factory source for serializer:raw.

Available registrations:
  - addon:crane-users-server@0.0.1
  - app:main
  - addon:denali@0.0.39
  - config:environment

Available resolvers:
  - /Volumes/Macintosh_HD/Users/shauncutts/src/crane-users-server/dist
  - /Volumes/Macintosh_HD/Users/shauncutts/src/crane-users-server/dist
  - /Volumes/Macintosh_HD/Users/shauncutts/src/crane-users-server/node_modules/denali/dist

Run with DEBUG=silly-denali:resolver:<path> to trace a specific resolver's resolution
(node:13764) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: No class found for serializer:raw.
(node:13764) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It doesn't return anything from curl localhost:3000

@davewasmer
Copy link
Collaborator

Hey @shaunc - thanks for the bug report. Looks like that blueprint is a little outdated. Check your index action, and change serializer:raw to serializer:json (we just did a simple rename from raw to json, looks like the blueprint wasn't updated to match).

If you feel up for it, a quick PR to the denali-cli repo to update the blueprints/app index action would be much appreciated as well! Happy to talk you through the change if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants