Skip to content

[Bug] Unexpected token - Build error when I use SSR to fetch product information from Shopify on gatsby@4.19.0. #39218

Open
@xuanhanhnguyen

Description

9:45:07 AM: success Building Rendering Engines - 27.652s
9:45:28 AM: success Building HTML renderer - 20.606s
9:45:28 AM: success Execute page configs - 0.158s
9:45:29 AM: failed Validating Rendering Engines - 1.128s
9:45:29 AM: error Built Rendering Engines failed validation failed validation.
9:45:29 AM: Please open an issue with a reproduction at https://github.com/gatsbyjs/gatsby/issues/new for more help
9:45:29 AM:
9:45:29 AM:
9:45:29 AM: Error: Module parse failed: Unexpected token (338:29)
9:45:29 AM: File was processed with these loaders:
9:45:29 AM: * ./node_modules/@vercel/webpack-asset-relocator-loader/dist/index.js
9:45:29 AM: You may need an additional loader to handle the result of these loaders.
9:45:29 AM: | const initPage = {
9:45:29 AM: | path,
9:45:29 AM: > webpack_require.ab + "best-sellers.js",
9:45:29 AM: | context: {
9:45:29 AM: | uid,

Metadata

Assignees

No one assigned

    Labels

    status: triage neededIssue or pull request that need to be triaged and assigned to a reviewer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions