Skip to content

yarn build showing {{#pageTypeNonce}}{{#webpackChunks}}{{/webpackChunks}} {{/pageTypeNonce}} in footer #4368

Closed
@ankit-jasani

Description

@ankit-jasani

Describe the request
We have set up Adobe Commerce 2.4.7-p1 with sample data and successfully configured PWA Studio to be compatible by following these steps:

Ran the command:
yarn create @magento/pwa

Set up a custom origin:
yarn buildpack create-custom-origin ./

Exported the required environment variable:
export NODE_OPTIONS=--openssl-legacy-provider

Built the project:
yarn build

The dist folder was generated using the commands mentioned above. The URL https://pwa-studio-demo.local/ was directly pointed to the dist folder, enabling the frontend to function correctly. (yarn start or any other commands not executed)

The frontend is functioning correctly (e.g., homepage, category page, and product details page are loading as expected). However, in the footer, we observe the following issue:

{{#pageTypeNonce}}{{#webpackChunks}}{{/webpackChunks}} {{/pageTypeNonce}}
No additional installations or customizations have been made on the Adobe Commerce side apart from the following required extensions:

magento/pwa
magento/pwa-commerce (added via Composer).
This is a fresh setup of both Adobe Commerce and PWA Studio with no customizations made yet.

Screenshots
Screenshot-from-2025-01-03-12-32-56-01-03-2025_12_33_PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis pertains to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions