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
Package @shopware-pwa is using the safe navigation operator or elvis operator, and this will throw an error in my new installation.
I've fixed this for me now with @babel/plugin-proposal-optional-chaining and @babel/plugin-proposal-nullish-coalescing-operator. webpack/webpack#10227 (comment)
Describe the bug
Package @shopware-pwa is using the
safe navigation operator
orelvis operator
, and this will throw an error in my new installation.I've fixed this for me now with
@babel/plugin-proposal-optional-chaining
and@babel/plugin-proposal-nullish-coalescing-operator
. webpack/webpack#10227 (comment)yarn add @babel/plugin-proposal-optional-chaining @babel/plugin-proposal-nullish-coalescing-operator --save-dev
nuxt.config.json
PS.: not sure if @babel/plugin-proposal-nullish-coalescing-operator is required for the solution.
Dont now if this is a good solution, but it works for me now.
Additional context
The text was updated successfully, but these errors were encountered: