Open andynice opened 4 years ago
In the wiki "Getting started with the JavaScript SDK" found in https://carbonldp.com/documentation/v5.x.x/javascript-sdk/getting-started/#creating-a-document
There is this example.
// ... imports let carbonldp; // ... initialize your CarbonLDP object console.log( carbonldp.$resolve( "/" ) ); // https://your-domain.com/
It didn't work for me. I used resolve() instead of $resolve(). I'm not sure if it was a typo.
I'm using this version of SDK
"dependencies": { "carbonldp": "^5.2.0" },
http://localhost:8083/
index.js:7 Uncaught TypeError: carbonldp.$resolve is not a function at eval (index.js:7) at Object../src/js/index.js (bundle.js:4153) at __webpack_require__ (bundle.js:20) at bundle.js:84 at bundle.js:87
Description
In the wiki "Getting started with the JavaScript SDK" found in https://carbonldp.com/documentation/v5.x.x/javascript-sdk/getting-started/#creating-a-document
There is this example.
It didn't work for me. I used resolve() instead of $resolve(). I'm not sure if it was a typo.
Version
I'm using this version of SDK
Expected Behavior
http://localhost:8083/
Current Behavior
index.js:7 Uncaught TypeError: carbonldp.$resolve is not a function at eval (index.js:7) at Object../src/js/index.js (bundle.js:4153) at __webpack_require__ (bundle.js:20) at bundle.js:84 at bundle.js:87
Steps to reproduce
Screenshots