jhen0409 / remotedev-rn-debugger

Injecting remotedev-app monitor into official Remote debugger of React Native. (formerly remote-redux-devtools-on-debugger)
MIT License
244 stars 28 forks source link

'remotedev-debugger' is not recognized #21

Closed hyldmo closed 7 years ago

hyldmo commented 7 years ago

When i try to run the postinstall build, I'm getting this error message.

npm run postinstall

> appZone@0.0.1 postinstall C:\dev\priv\appZone
> remotedev-debugger --hostname localhost --port 5678 --injectserver

'remotedev-debugger' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "postinstall"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8

Any idea what I'm missing? Here's the script parts of my package.json

"scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "remotedev": "remotedev --hostname=localhost --port=8000 --injectserver=reactnative",
    "postinstall": "remotedev-debugger --hostname localhost --port 5678 --injectserver"
},
hyldmo commented 7 years ago

Somehow forgot to install the package itself. My bad!