You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run into some problem when I use it to nodejs server, but I don't know this is the problem or not thus I open a issue to figure out them~
I following the README to import 'kkbox-javascript-developer-sdk' and get the error.
import{Auth}from'kkbox-javascript-developer-sdk'// Cannot find module 'kkbox-javascript-developer-sdk';//change intoimport{Auth}from'@kkboxorg/kkbox-javascript-developer-sdk';// work
I use nodejs require but the SDK doesn't compile in npm module cause the Unexpected token export error, may it be possible compile to npm module with es5 ?
Alright, we have fixed it in the latest version, please try again. Previously we published the es6 version of sdk and hence you cannot require it in node, now we have changed to correctly publish es5 version of sdk.
Thanks for KKBOX OpenAPI.
I run into some problem when I use it to nodejs server, but I don't know this is the problem or not thus I open a issue to figure out them~
Unexpected token export
error, may it be possible compile to npm module with es5 ?The text was updated successfully, but these errors were encountered: