You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Sorry for this newbie question.
I'm new to React Native, and building a UI with time picker.
I think I should use this lib because of similar UI between Android and iOS.
I was trying to run the example project. I followed steps as described in README file inside examples/detox folder.
But there's error when I run 'npm install'. Below is the terminal content:
vietstone-ng@vietstone detox % npm install
> [email protected] install /Users/vietstone-ng/code/try/react-native-date-picker/examples/detox/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
ACTION binding_gyp_ndtp_target_build_ndtp .
-----------------------------------------------------------------
Building dtrace-provider failed with exit code 1, falling back
on stub implementation.
Re-run install with V set in your environment to see the build
output, or NODE_DTRACE_PROVIDER_REQUIRE=hard to force an
installation failure.
-----------------------------------------------------------------
TOUCH Release/obj.target/ndtp.stamp
> [email protected] postinstall /Users/vietstone-ng/code/try/react-native-date-picker/examples/detox/node_modules/detox
> node scripts/postinstall.js
/Users/vietstone-ng/Library/Detox/ios/4550752a6cfcccda995b78d208edebb93be7c6fe was found, but could not find Detox.framework inside it. This means that the Detox framework build process was interrupted.
deleting /Users/vietstone-ng/Library/Detox/ios/4550752a6cfcccda995b78d208edebb93be7c6fe and trying to rebuild.
Extracting Detox sources...
Building Detox.framework from /Users/vietstone-ng/code/try/react-native-date-picker/examples/detox/node_modules/detox/ios_src...
child_process.js:637
throw err;
^
Error: Command failed: /Users/vietstone-ng/code/try/react-native-date-picker/examples/detox/node_modules/detox/scripts/build_framework.ios.sh
at checkExecSyncError (child_process.js:616:11)
at Object.execFileSync (child_process.js:634:15)
at Object.<anonymous> (/Users/vietstone-ng/code/try/react-native-date-picker/examples/detox/node_modules/detox/scripts/postinstall.js:2:27)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
status: 65,
signal: null,
output: [ null, null, null ],
pid: 22415,
stdout: null,
stderr: null
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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/vietstone-ng/.npm/_logs/2020-11-25T08_30_39_057Z-debug.log
What's the problem? Please help me to run it. Thank you
This discussion was converted from issue #265 on December 09, 2020 11:07.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Sorry for this newbie question.
I'm new to React Native, and building a UI with time picker.
I think I should use this lib because of similar UI between Android and iOS.
I was trying to run the example project. I followed steps as described in README file inside examples/detox folder.
But there's error when I run 'npm install'. Below is the terminal content:
What's the problem? Please help me to run it. Thank you
Beta Was this translation helpful? Give feedback.
All reactions