You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If for some reason cookie 1.x is installed the compilation fails with following error message. node_modules/engine.io/build/server.d.ts:4:15 - error TS2724: '"cookie"' has no exported member named 'CookieSerializeOptions'. Did you mean 'SerializeOptions'?
Describe the solution you'd like
Obviously something needs to change. I guess CookieSerializeOptions was renamed to SerializeOptions?
Describe alternatives you've considered
Sticking with 0.7.2 but that's hardly a long term solution.
Additional context
I recon this is pretty straight forward.
The text was updated successfully, but these errors were encountered:
I encountered this error today after updating dependencies to resolve a security warning about cross-spawn. After the updates, engine.io was installing cookie 0.7.2, but another package installed cookie 1.x, and it seems TypeScript was expecting engine.io to reference types from cookie 1.x.
For now I was able to solve this by pinning the cookie package to the 0.7.2 version with the following addition to my package.json:
Is your feature request related to a problem? Please describe.
If for some reason cookie 1.x is installed the compilation fails with following error message.
node_modules/engine.io/build/server.d.ts:4:15 - error TS2724: '"cookie"' has no exported member named 'CookieSerializeOptions'. Did you mean 'SerializeOptions'?
Describe the solution you'd like
Obviously something needs to change. I guess CookieSerializeOptions was renamed to SerializeOptions?
Describe alternatives you've considered
Sticking with 0.7.2 but that's hardly a long term solution.
Additional context
I recon this is pretty straight forward.
The text was updated successfully, but these errors were encountered: