Skip to content

--scripts-version not working with forked react-scripts #631

@yesmeck

Description

@yesmeck

According to @gaearon's tweet https://twitter.com/dan_abramov/status/774888111927091200

I forked react-scripts to another package named feeble-scripts and tried running create-react-app myapp --scripts-version feeble-scripts, because CRA reads react-scripts's package.json in https://github.com/facebookincubator/create-react-app/blob/master/global-cli/index.js#L149-L155, so the command fails end with Error: Cannot find module '/path/to/myapp/node_modules/react-scripts/package.json'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions