-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Enable support for Fastify v2 #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I was unable to use fastify-cookie without being on Fastify v2. I previously had Fastify v1.14.2, and I kept getting a null error on FastifyRequest.req at line 30 in plugin.js. |
What's your error? You likely need to use version 2.x of fastify-cookie. |
Yes, but shouldn't the minimum version of Fastify be 2.0.0 in the value passed to fp() for your master branch? |
Yes. A PR to fix would be most welcome. |
I have got this error, anyway I can fix it Error: fastify-plugin - expected '^1.0.0' fastify version, '2.8.0' is installed |
Purge your dependencies and reinstall/update them. Line 49 in 72bf8e8
|
No description provided.