Open dpacmittal opened 5 years ago
I removed node_modules folder and updated my package.json (removed react-devtools-core
and blessed
) to:
{
"name": "binance-cli",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -p ./",
"watch": "tsc -w -p ./"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/blessed": "^0.1.11",
"@types/react": "^16.8.19",
"@types/react-blessed": "^0.3.1",
"@types/ws": "^6.0.1",
"binance-api-node": "^0.9.2",
"blessed-contrib": "^4.8.16",
"neo-blessed": "^0.2.0",
"react": "^16.8.0",
"react-blessed": "0.6.0",
"react-blessed-contrib": "^0.2.1",
"ts.data.json": "^0.2.0",
"winston": "^3.2.1"
},
"devDependencies": {
"typescript": "^3.4.4"
}
}
Now I have started getting:
WARNING: the `ws` package must be installed to use `react-devtools`.
Which is why I had installed react-devtools-core
and ws
in the first place using install-peerdeps
.
I'm trying to use react-devtools and I'm getting this error:
I'm not sure what's wrong. Here's my package.json:
This only happens when
react-devtools
is open.