Module Resolution Issues in Next.js Pages Router
If you encounter errors like:- Add
@mascotbot-sdk/reactto yournext.config.js:
- If you’re still seeing issues, try clearing your Next.js cache:
MascotCall Common Issues
Transport State Stuck on “Connecting”
If the call state remains in “connecting”:- Check that your
apiUrlis correct and accessible - Ensure your browser has microphone permissions
- Check browser console for any WebRTC-related errors
Audio Issues
If you’re experiencing audio problems:- Check microphone permissions in your browser
- Verify that no other application is using the microphone
- Try refreshing the page to reset WebRTC connections
Animation Not Playing
If the Rive animation isn’t working:- Verify your Rive file URL is correct
- Check that artboard and animation names match your Rive file