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.
Activity
willyliu commentedon Nov 28, 2017
Thanks for your feedback, we are looking into it.
willyliu commentedon Nov 28, 2017
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.
madeinfree commentedon Nov 28, 2017
Thanks @willyliu, I'll try later 👍
ajhsu commentedon Feb 4, 2018
Hi @madeinfree ,
Is everything works fine? :)
I'm going to close the issue; If you have further question, please let us know :)