So i'm trying to use mysql with nodejs, and when I attempt to use it, I receive a syntax error that appears to originate within the MySQL package itself.
require('/usr/local/bin/mysql')
which returns the exception:
/usr/local/Cellar/mysql/8.0.26/bin/mysql:1
����
SyntaxError: Invalid or unexpected token
Does anyone know why this might be happening?