Closed ohabash closed 11 months ago
@ohabash Try add "esModuleInterop": true
to your tsconfig.json
That didnt work. This is what i have to do. @blaueeiner
import ImageKit from 'imagekit-javascript'; `// prod only
const ImageKit = require('imagekit-javascript'); // precompiled only
Here is the working code - https://stackblitz.com/edit/stackblitz-starters-ychubd?file=service.ts,index.ts
Can you please share the minimum code to reproduce this error for us to debug further?
Im doing a trial on this api for my company
Ive got the following class in my app. but it wont run because of this error
node =>
v16.19.0
npm =>8.19.3
imagekit-javascript =>^1.5.5