package.json:
{
"name": "todo",
"version": "0.1.0",
"private": true,
"engines": {
"node": "10.15.3",
"npm": "6.4.1"
},
"dependencies": {
"@material-ui/core": "^4.8.1",
"@material-ui/icons": "^4.5.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "3.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
上面是我的反应应用程序的package.json代码,我尝试通过添加https = true来尝试解决,但错误仍未解决,因此请给出答复是否有解决方案。
screenshot of error while loading on https page