I have installed pwa-studio by following magento pwa docs. Now when I try to run command "yarn run watch" got below error
$ webpack-dev-server --progress --color --env.mode development
As of version 12.1.0, PWA Studio requires the appropriate PWA metapackage to be installed on the backend.
For more information, refer to the 12.1.0 release notes here: https://github.com/magento/pwa-studio/releases/tag/v12.1.0
Error: Cannot query field "newsletter_enabled" on type "StoreConfig". (... 1 errors total)
at /var/www/vhosts/mysite.com/htdocs/pwa-studio/node_modules/@magento/pwa-buildpack/lib/Utilities/graphQL.js:54:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async module.exports (/var/www/vhosts/mysite.com/htdocs/pwa-studio/webpack.config.js:62:29)
I already installed metapackage still this issue happening. Does anyone have any idea how to solve this?
Magento version: 2.4.1
Php: 7.3