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
When deploying an app via Heroku, there's an error: SyntaxError: Invalid regular expression: /^.*?\((?<label>.*?)[,)]/: Invalid group. The stack trace seems to point back to imagemin-pngquant, which uses ow, which is where this regex is being used.
@fsultani Just ran into the same issue. In my case, the problem was old Node (v 8.x), which didn't support named groups in regexps - they are supported since node 10.x. I updated and it's ok now.
When deploying an app via Heroku, there's an error:
SyntaxError: Invalid regular expression: /^.*?\((?<label>.*?)[,)]/: Invalid group
. The stack trace seems to point back toimagemin-pngquant
, which uses ow, which is where this regex is being used.ow
is currently on v.0.19.0, whereasimagemin-pngquant
is still using v.0.17.0 (https://github.com/imagemin/imagemin-pngquant/blob/master/package.json#L30). Can it be upgraded to v.0.19.0 to see if it fixes the error?The text was updated successfully, but these errors were encountered: