You need to enable JavaScript to run this app
-
Hi, I just created a react app with npx create-react-app my-app, put a slugname in the reactpress tab, and make a “npm start”.
And when i go to the page “my-app”, I have this message instead of my application :
<!– Please don’t change. Block is needed for React app. –>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id=”root”></div>and when I preview the page it’s blank.
I use WAMP server on Window and my package.json is the one by default :
{ "name": "my-app", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.16.3", "@testing-library/react": "^12.1.4", "@testing-library/user-event": "^13.5.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-scripts": "5.0.0", "web-vitals": "^2.1.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "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" ] } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘You need to enable JavaScript to run this app’ is closed to new replies.