fgnass / domino

Server-side DOM implementation based on Mozilla's dom.js
BSD 2-Clause "Simplified" License
768 stars 120 forks source link

NotYetImplemented while trying to implement server side rending angular 7... ( Keycloak Login ) #158

Open aniketbumbc opened 4 years ago

aniketbumbc commented 4 years ago

Hello, I am trying to implement ssr angular v7. My application landing page has Keycloak login. I successfully build code but while running code I got following error.

Error: NotYetImplemented at Document.exports.nyi (/home/Project AIC/aic-intranet/dist/server.js:89918:9) at setCookie (/home/Project AIC/aic-intranet/dist/server.js:249631:33) at CookieStorage.cs.add (/home/Project AIC/aic-intranet/dist/server.js:249600:17) at Keycloak.kc.createLoginUrl (/home/Project AIC/aic-intranet/dist/server.js:248359:29) at Object.login (/home/Project AIC/aic-intranet/dist/server.js:249260:52) at Keycloak.kc.login (/home/Project AIC/aic-intranet/dist/server.js:248340:28) at doLogin (/home/Project AIC/aic-intranet/dist/server.js:248243:24) at onLoad (/home/Project AIC/aic-intranet/dist/server.js:248270:25) at processInit (/home/Project AIC/aic-intranet/dist/server.js:248322:25) at Object.success (/home/Project AIC/aic-intranet/dist/server.js:249143:29) I did not find global["document"]["cookie"] = win.document.cookie; in domino.

can any one assist me in this problem.....

JakeLo123 commented 5 months ago

I think there is no cookie api. Domino gives you a custom object instead of the actual document. Someone gave me helpful advice on this stack overflow thread