Skip to content

npm start variable BROWSER is not working.  #11873

Open
@minnie-J

Description

@minnie-J

package.json

"scripts": {
    "start": "BROWSER=chrome react-scripts start"
}

It works in CRA v4.x.
But it doesn't work in CRA v5.0.0
It opens with the default browser (Firefox).

Environment

Windows 10
WSL 2
node v14.16.0
npm v6.14.11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions