Open pavlelekic opened 8 years ago
any success in getting this to work? maybe it's a different node version or something?
for me it installed without errors by upgrading node-inspector from 0.12.3 to 0.12.8. (node version 6.3.0 and npm version 3.10.3)
npm install
fails even after upgrading node-inspector
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/Cellar/node/6.4.0/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! v8-profiler@5.3.2 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-profiler@5.3.2 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs v8-profiler
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/preetam/Documents/react_samples/react-native/ReactNativeSampleApp/npm-debug.log
npm ERR! code 1
I have the same issue. I still couldn't resolve the issue until now.
@preetb123 @haojiezhang what node and npm versions are you using?
BLs-MacBook:ReactNativeSampleApp brian$ npm -v
3.10.5
BLs-MacBook:ReactNativeSampleApp brian$ node -v
v5.4.1
maybe this should use .nvmrc
Anyone have any thoughts on that r what to make it happen?
upgraded node-inspector here since that seemed to help some people: https://github.com/taskrabbit/ReactNativeSampleApp/pull/30
I'm getting this issue during run on Android
\TestRunnerManager.java:14: error: cannot find symbol private @Nullable DevSupportManager mDevSupportManager; ^ symbol: class DevSupportManager location: class TestRunnerManager D:\react_native\ReactNativeSampleApp-master\android\app\src\main\java\com\sample \MainApplication.java:19: error: getUseDeveloperSupport() in <anonymous com.samp le.MainApplication$1> cannot override getUseDeveloperSupport() in ReactNativeHos t protected boolean getUseDeveloperSupport() { ^ attempting to assign weaker access privileges; was public D:\react_native\ReactNativeSampleApp-master\android\app\src\main\java\com\sample \TestRunnerManager.java:30: error: cannot find symbol mDevSupportManager = (DevSupportManager) field.get(mReactContext); ^ symbol: class DevSupportManager location: class TestRunnerManager Note: D:\react_native\ReactNativeSampleApp-master\android\app\src\main\java\com\ sample\TLSSetup.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 4 errors :app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 7.207 secs Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/android-setup.html
I couldn't even run the app, here is what I got on
npm install
Thanks.