You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems you have reported issue to wrong repo. This is mysql2 rubygem repo. You're looking probably for mysql2 node package repo, which is hosted at https://github.com/sidorares/node-mysql2.
I'm trying to convert my project from CommonJS (CJS) to ES Module (MJS), to do that I use:
But then I get an error:
Then I found a recently closed thread on the Node.js Github, where it's written «Closing as this is by design.»
Is it possible to provide
mysql2/promise
in MJS-friendly mode to be able to easily importmysql2/promise
?The text was updated successfully, but these errors were encountered: