I have done changes in template.html in magento 2.4.5 [ Venia storefront ] frontend . But the changes are not reflecting in website. So i ran this below command :
yarn run build
$ yarn run build:prod
$ yarn run clean && webpack --no-progress --env.mode production
$ rimraf dist
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
TypeError: Cannot read properties of undefined (reading 'storeConfig')
at /home/ubuntu/glow-frontend/node_modules/@magento/pwa-buildpack/lib/Utilities/graphQL.js:73:22
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async module.exports (/home/ubuntu/glow-frontend/webpack.config.js:61:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Do we need to fix above errors or Is there anything else we need to do to reflect the changes in frontend ?