'How can I troubleshoot a "Please Connect Camera" browser message from appearing after an image is captured?

I'm working on a React site with an image capture page and after the image is captured, the Chrome browser shows an error:

passportprint.com says
Please connect the camera.

The issue is intermittent. Has anyone seen this? How would I troubleshoot this error?

I'm using Gatsby JS for the framework.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source