opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
I just intsall firebase and I got this error
this package.json file
{
"name": "amazon_clone",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mdi/light-js": "^0.2.63",
"@mdi/react": "^1.6.1",
"@mui/icons-material": "^5.11.9",
"@mui/material": "^5.11.9",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"firebase": "^9.18.0",
"nuka-carousel": "^5.4.1",
"react": "^18.2.0",
"react-country-flag": "^3.0.2",
"react-currency-format": "^1.1.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"react-scripts": "^2.1.3",
"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"
]
},
"devDependencies": {
"file-loader": "^6.2.0",
"url-loader": "^4.1.1"
}
}
I am using "react": "^18.2.0" same node version still I am getting this error
npm version 8.9.0
I have tried all these versions 18.14.0 18.13.0 18.3.0
- 18.2.0 (Currently using 64-bit executable) 18.1.0 15.14.0 15.2.0