9:56:56 AM: Line 228:9: ‘isAddress’ is assigned a value but never used no-unused-vars
9:57:02 AM: Shutting down logging, 98 messages pending
Please can you specify what site you are referring to and more details? package.json? repo? steps taken to troubleshoot?
when deploying it bring this error
( We couldn’t deploy your site. Check out our Build docs for tips on troubleshooting your build, and if that doesn’t help, please review our Support Guide on extended debugging before asking us for debugging advice.)
and then ends with the code below in the deploy log
9:48:59 AM: Shutting down logging, 98 messages pending
This is my package.json
{
“name”: “my-app”,
“version”: “0.1.0”,
“private”: true,
“dependencies”: {
"libp2p-circuit": "^0.3.7",
"libp2p-mplex": "^0.10.7",
"libp2p-noise": "^4.0.0",
"os-browserify": "^0.3.0",
"react": "^18.0.0",
"react-bootstrap": "^2.7.2",
"react-dom": "^18.0.0",
"react-icons": "^4.8.0",
"react-loader-spinner": "^5.3.4",
"react-router-dom": "^6.10.0",
"react-scripts": "^5.0.1",
"react-slideshow-image": "^4.2.1",
"react-swipeable": "^7.0.0",
"stream-browserify": "^3.0.0",
"web-vitals": "^2.1.4",
"web3": "^1.9.0"
},
“scripts”: {
“start”: “react-scripts start --host 0.0.0.0”,
“eject”: “react-scripts eject”,
“build”: “react-scripts build && rm -rf build/static/js/*.map”,
“test”: “react-scripts test”
},
“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”
]
}
}
This line indicates there is a variable isAddress
that is never used. It is a warning however likely the build has treated it as an error.
Try changing the build command to CI= npm run build
. If that doesn’t work, please share the public repository you are deploying from.