Skip to content

Run React bug #13184

@August7337

Description

@August7337

Hello I have a problem with react when I tryto run my web application an error appears:

codespaces-react@0.1.0 start
BROWSER=none WDS_SOCKET_PORT=0 react-scripts start

'BROWSER' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Waiting for the debugger to disconnect...

And this his may package.json :

{
"name": "codespaces-react",
"version": "0.1.0",
"private": true,
"homepage": "http://August7337.github.io/Quick-X",
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"cross-env": "^7.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"web-vitals": "^3.1.0"
},
"scripts": {
"start": "BROWSER=none WDS_SOCKET_PORT=0 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeplay": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"dev": "cross-env BROWSER=none yarn clean:lib && webpack --progress --colors --watch --env dev",
"gh-pages": "^5.0.0"
}
}

Thx 4 help

Metadata

Metadata

Assignees

No one assigned

    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