realcoloride / node_characterai

Unofficial Character AI wrapper for node.
https://beta.character.ai/
339 stars 72 forks source link

Cannot statically analyse 'require(…, …)' in line 11 #163

Closed mahfuz0001 closed 1 month ago

mahfuz0001 commented 4 months ago

Hii. Im using nextjs with typescript and getting this error while using this package

image

image

realcoloride commented 4 months ago

Hello! This is not an issue related to the node_characterai package, but here is a provided fix that could help you perhaps: https://stackoverflow.com/a/76999195 image

Cheers and good luck.