Skip to content

Shopify CLI frontend build (node-template) #1186

@mtahirofficial

Description

@mtahirofficial

Issue summary

I am trying to build the front end of the application developed using Shopify-CLI. I am trying to add SHOPIFY_API_KEY as explained here.

I am trying this command cd web/frontend/ && SHOPIFY_API_KEY=REPLACE_ME npm run build from the root directory of my project. But,

SHOPIFY_API_KEY is not added through this command

Expected behavior

As described here the SHOPIFY_API_KEY should be added to the build.

Actual behavior

When I run the command it's giving me an error described below and attached a screenshot of the error message.

Details `SHOPIFY_API_KEY` is not recognized as an internal or external command, operable program, or batch file.

Untitled

Please, anyone, help me with this problem. I will be grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions