Comments (10)
Hi @kevlarAdmin quick question before we look into the issue. Which version of the nodejs leadless library do you use? I'm asking because we just released a version yesterday, which includes some changes around client side support for fetch.
from umbraco.headless.client.nodejs.
Hi @sitereactor,
I missed that an update occurred so i updated to the latest "@umbraco/headless-client": "^0.4.0", but a new problem occurred then.
Please look above at the new problem.
from umbraco.headless.client.nodejs.
Can you post the snippet of code you are using, so we can try to replicate?
from umbraco.headless.client.nodejs.
On second thought, is your project from early access? We pushed an update out yesterday, but as many early access projects expired yesterday we didn't update those.
If you post the alias you are using I can double check if its a version mismatch.
from umbraco.headless.client.nodejs.
Hi @sitereactor dont think it should be. created a demo account for 14 days.
I added you to the project and you find the alias in "Umbraco-Headless/headless-app/src/app/home/home.component.ts"
from umbraco.headless.client.nodejs.
Alright...I checked your project and it is up-to-date, and I checked the root content via Postman, which also worked fine. So we will have a look at the code you gave me access to and get back to you.
from umbraco.headless.client.nodejs.
We found that the nodejs library was setting the Api-Version header both via the Accept
and Api-Version
headers, so the server didn't know which version to use as one sent 2
and the other sent 2.1
.
We'll fix this up now and release an update.
Thanks for submitting this! That was an oversight we hadn't noticed.
from umbraco.headless.client.nodejs.
Hi @kevlarAdmin
We've just released a new version on NPM that fixes the problem. Can you try upgrading and see if that helps?
Thanks
from umbraco.headless.client.nodejs.
Hi @sitereactor @rasmusjp , It works.
Thanks a lot for the help
from umbraco.headless.client.nodejs.
Perfect! Happy to hear that
from umbraco.headless.client.nodejs.
Related Issues (11)
- Any plan for support of rxjs observables? HOT 2
- Is this safe to use? HOT 2
- Support for varying URL configuration HOT 1
- Possible error with pageSize and page options, when using client.delivery.content.children HOT 2
- Lack of Documentation HOT 5
- TypeError: Cannot read property 'data' of undefined HOT 1
- Support for TypeScript (typings) HOT 2
- Descendants call should be a PagedResponse in 0.8.0 HOT 1
- Axios dependancy IE11 issue HOT 1
- Missing documentation on NodeJS Client? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbraco.headless.client.nodejs.