-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
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~
- 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 into
import { 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 exporterror, may it be possible compile to npm module with es5 ?
const { Auth } = require('@kkboxorg/kkbox-javascript-developer-sdk'); // Unexpected token exportReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels