[wp-trac] [WordPress Trac] #55914: npm install still does not work on wordpress-trunk on new Mac M1's (Unknown MySQL server host 'mysql')

WordPress Trac noreply at wordpress.org
Sat Jun 4 06:47:15 UTC 2022


#55914: npm install still does not work on wordpress-trunk on new Mac M1's (Unknown
MySQL server host 'mysql')
------------------------------+------------------------
 Reporter:  sandrasanzdev     |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:  duplicate
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------

Comment (by sandrasanzdev):

 Sorry to insist but is this exactly the same issue as #55914 though?
 - @afragen I didn't chain any commands, executed all of them separately.
 But chaining only the first three and executing `npm run env:install`
 separately throws this same error.
 - `npm run env:start` throws the same error as `npm run env:install`, so
 it's not an issue with waiting for mysql to be available.
 - Throwing the commands again doesn't solve the issue.
 - Only happens on M1 Macs.
 - Changing the mysql container to `amd64/mariadb` fixes the issue.

 My problem seems unrelated to the availability of the mysql container and
 more related to the fact that the image the container is using is not
 compatible with M1, as discussed in the last posts in #52356.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55914#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list