Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[auth][error] TypeError: (0 , import_preact_render_to_string.renderToString) is not a function
at send (D:\sap-apps\cap-oauth-demo-ts\node_modules@auth\core\lib\pages\index.js:13:350)
at Object.error (D:\sap-apps\cap-oauth-demo-ts\node_modules@auth\core\lib\pages\index.js:119:20)
at AuthInternal (D:\sap-apps\cap-oauth-demo-ts\node_modules@auth\core\lib\index.js:31:31)
at async Auth (D:\sap-apps\cap-oauth-demo-ts\node_modules@auth\core\index.js:111:34)
at async (D:\sap-apps\cap-oauth-demo-ts\node_modules@auth\express\index.js:151:45)
It seems that Auth.Js is still not compatible yet with typescript. I have tried creating MJS version(Auth.js is not compatible to CommonJS) and it seems to be working fine but in SAP CAP custom auth, CAP doesn't accept MJS custom-auth yet so I would try to stick with typescript better. Would there be any improvements for Auth.js in the future?
Beta Was this translation helpful? Give feedback.
All reactions