Skip to content

[bug]: Magento pages are not opening #4573

@lkwteileplus

Description

@lkwteileplus

Describe the bug

I’m trying to embed a static page (e.g. /impressum) in the footer.
When I click the link in the footer, the page should open, but instead, I get an error and the page does not load.

To Reproduce

Open the PWA.

Scroll down to the footer.

Click the /impressum link.

The error appears and the page does not open.

Expected behavior

The /impressum page should load and display its content as expected.

Actual behavior / Error

When clicking the footer link, the following error appears:

TypeError: rootComponentsMap[importerKey] is not a function
Call Stack
importRootComponent
node_modules/webpack-inject-plugin/dist/webpack-inject-plugin.loader.js?id=webpack-inject-module-1!./:14:50
globalThis.handleRouteChangeConfirmation
node_modules/@magento/venia-ui/lib/components/Adapter/adapter.js:2034:37

I try to reach magento pages. Graphql can access without any problems

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions