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

'"ngx-cookie-service-ssr"' has no exported member named 'CookieService'. Did you mean 'SsrCookieService'?ts(2724) #306

Closed
code-ishwar opened this issue Feb 24, 2024 · 4 comments

Comments

@code-ishwar
Copy link

Describe the bug

The documentation says that user -ssr only for ssr. But the CookieService is not available in -ssr.

Steps to Reproduce

import { CookieService } from 'ngx-cookie-service-ssr';

Please provide a link to a minimal reproduction of the bug. StackBlitz, CodePen or CodeSanBox

https://angular-ivy-ehmvey.stackblitz.io

Expected behaviour

As per Readme, importing the ngx-cookie-service-ssr should be enough.

What version of the library you see this issue?

17

What version of Angular are you using?

Angular 13

Screenshots

No response

Desktop? Please complete the following information

MACOS

Mobile? Please complete the following information

No response

Anything else?

No response

Copy link

Hello 👋 @cyberiumchain
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue

@pavankjadda
Copy link
Collaborator

You have to install ngx-cookie-service-ssr not ngx-cookie-service

@ghost
Copy link

ghost commented Mar 25, 2024

@pavankjadda the readme is still inaccurate, the exported class of ngx-cookie-service-ssr is called SsrCookieService not CookieService.

@pavankjadda
Copy link
Collaborator

@pavankjadda the readme is still inaccurate, the exported class of ngx-cookie-service-ssr is called SsrCookieService not CookieService.

Where do you see this?

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