mcnamee/react-native-starter-kit

Its failing on npm start after the merge done to master

Closed this issue · 6 comments

react-native-starter-kit/rndebugger:/set-debugger-loc?host=localhost&port=19001 does not exist.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rnsk@0.1.0 debug: open 'rndebugger://set-debugger-loc?host=localhost&port=19001'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rnsk@0.1.0 debug script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/bhupindersingh/.npm/_logs/2018-05-02T17_10_59_424Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rnsk@0.1.0 start: npm run debug && react-native-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rnsk@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@mcnamee please check and fix. Thanks. Its not able to find a file, removing "npm run debug" from start script in package.json fixes this.

Can you please fill in the issue template correctly - your environment, steps to reproduce, expected result etc

I have same problem with fresh clone

Env: Arch Linux, Node 10, NPM 5.6, expo
Steps: clone, npm i, npm start
Expected Result: open app via expo
Getting:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rnsk@0.1.0 debug: open 'rndebugger://set-debugger-loc?host=localhost&port=19001'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rnsk@0.1.0 debug script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/bhupindersingh/.npm/_logs/2018-05-02T17_10_59_424Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rnsk@0.1.0 start: npm run debug && react-native-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rnsk@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

ok, it's clear for me. rndebugger cannot be used on Linux: (https://github.com/jhen0409/react-native-debugger/blob/master/docs/getting-started.md)
So I removed the part npm run debug && and it works

Ah ha, good shout @stefanwuthrich

I'd added it as a developer convenience (it's a great tool!) knowing that it was cross platform. But I didn't realise that the CLI wasn't consistent across platforms.

I'll remove it

It failed for me on macOS. Can someone try running on macOS, node V8, npm 5.5.1. Can we mention ideal requirement for running it perfectly @mcnamee @stefanwuthrich

Please supply some more details @dynamicsingh - now that you've tried removing run debug from the start script (or simply cloned from master branch) - what error are you getting?