[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
Fri Jun 3 22:18:21 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: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+---------------------
Comment (by afragen):
When the npm commands are all chained as in
{{{npm install && npm run build:dev && npm run env:start && npm run
env:install }}}
It seems that MySQL hasn't quite started before the `npm run env:install`
starts, giving this error.
The solution is to only chain the first 3 commands and then run the
`install`.
{{{npm install && npm run build:dev && npm run env:start}}}
{{{npm run env:install }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55914#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list