Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Building app does not work with yarn #23

Closed
@vaclavbohac

Description

@vaclavbohac

Deploying a react app with yarn.lock fails to compile the app as yarn ignores the NPM_CONFIG_PRODUCTION flag and omits the dev dependencies necessary to run the webpack.

There's a simple workaround as all you need to do is to delete yarn.lock file from the project and the build scripts will fall back to the npm (https://github.com/heroku/heroku-buildpack-nodejs/blob/v93/bin/compile#L54). But that't not what you really want to do

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions