kitsteam / stop-motion-app

GNU Affero General Public License v3.0
4 stars 1 forks source link

Unable to run tests as Chrome Headless throws errno Operation not permitted error #210

Open sorenjohanson opened 1 week ago

sorenjohanson commented 1 week ago

When trying to run yarn test, Chrome Headless (which was previously installed as root in Dockerfile) throws an errno = Operation not permitted error:

Chrome Headless error in console

May be a local error similar to #209, but need to test it further. I'm running yarn test as user node.

sorenjohanson commented 6 days ago

This is caused by Chrome Headless missing the --no-sandbox flag in karma.conf.js.