realcoloride / node_characterai

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

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

Closed mahfuz0001 closed 4 months ago

mahfuz0001 commented 7 months ago

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

image

image

realcoloride commented 7 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.