-
Notifications
You must be signed in to change notification settings - Fork 200
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
CONSOLE ERRORS #422
Comments
I'm seeing these errors as well, but supposedly the "user-agent" error was fixed back in 2016: #56 Any plans to resolve this? |
Hi @DmitriyLitvinov @dreysolano, |
@marcolink - I just upgraded to |
Updating contentful to latest version didn't help. Also seeing these errors. |
Any updates on this? |
@marcolink - It's been 5 months since I last commented on this, and I'm still seeing these 2 errors even after upgrading to the latest v9.1.10. Any plans to resolve these errors? I'm a bit confused as to why this hasn't been resolved somewhere in the last 16 releases since v8.5.7. Please advise. |
Same issue here with v9.1.10 |
Experiencing the same issue with v9.1.12. I dug into the stack trace and found out that the reason I'm getting this message is because of Contentful's
When this function evaluates to Normally, this shouldn't be a problem, however in edge cases you might have your client side JS polyfilled to use node-only packages. For my case, it's because we're using
The issue was solved on my end by adding the Hopefully this helps someone, and perhaps it's a good thing to put into the docs for cases where you're using polyfilled client side code. |
@ankhuve - injecting the |
This took some digging to find, but the Contentful JS SDK also distributes a version built for browsers (at least in v9+), otherwise it is assumed to be running in node. Importing
I actually found this solution because the docs say you can use the CDN version of the package available at this path, then I checked my node modules and the minified browser version is also available there 🤷 |
This ticket has been closed due to inactivity. If you still need help resolving your issue, please reach out through our community Slack, or contact Contentful support directly. |
I'm using contentful with the latest Angular version 10.0.5 and I have errors in the dev console.
environment.ts
contentful.service.ts
Each time when I call
contentfulService.getNewsList({limit: 6})
I get a list of news but in the dev console I see 2 errors:How can I fix it or it's your bug?
The text was updated successfully, but these errors were encountered: