Git Product home page Git Product logo

react-native-open-project's Issues

报错 /node_modules/promise/lib/done.js:10 throw err;

你好大大。我想看看do app的展示可是一直都没法正常link。
link会报错:
react-native link

/Users/robinxu/Documents/GitHub/do-app/node_modules/promise/lib/done.js:10
throw err;
^
Please provide one argument (library to install).
Usage example: react-native link awesome-camera

即使跳过link,直接run,也会:
The following build commands failed:
CompileC /Users/nameofuser/Documents/GitHub/do-app/ios/build/Build/Intermediates.noindex/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTSRWebSocket.o RCTSRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/do_2.app
No devices are booted.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
/Users/nameofuser/Documents/GitHub/do-app/node_modules/promise/lib/done.js:10
throw err;
^

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/do_2.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

at checkExecSyncError (child_process.js:472:13)
at Object.execFileSync (child_process.js:492:13)
at _runIOS (/Users/nameofuser/Documents/GitHub/do-app/node_modules/react-native/local-cli/runIOS/runIOS.js:77:34)
at /Users/nameofuser/Documents/GitHub/do-app/node_modules/react-native/local-cli/runIOS/runIOS.js:24:5
at tryCallTwo (/Users/nameofuser/Documents/GitHub/do-app/node_modules/promise/lib/core.js:45:5)
at doResolve (/Users/nameofuser/Documents/GitHub/do-app/node_modules/promise/lib/core.js:200:13)
at new Promise (/Users/nameofuser/Documents/GitHub/do-app/node_modules/promise/lib/core.js:66:3)
at Array.runIOS (/Users/nameofuser/Documents/GitHub/do-app/node_modules/react-native/local-cli/runIOS/runIOS.js:23:10)
at Object.run (/Users/nameofuser/Documents/GitHub/do-app/node_modules/react-native/local-cli/cli.js:86:13)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)

关键的地方我觉得是
Print: Entry, ":CFBundleIdentifier", Does Not Exist
/Users/nameofuser/Documents/GitHub/do-app/node_modules/promise/lib/done.js:10
throw err;

希望能稍微提示一下。。。非常感谢!
系统10.12.6
RN版本
react-native-cli: 2.0.1
react-native: 0.19.0

当打开在这里下载的APP的时候都会出现报错

下面是APP报错的内容
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): NotFoundError: Cannot find entry file index.android.js in any of the roots: ["D:\personal\pro\ImClient\node_modules\.0.42.3@react-native","D:\personal\pro\ImClient\node_modules\.1.0.3@abab","D:\personal\pro\ImClient\node_modules\.0.0.0@absolute-path","D:\personal\pro\ImClient\node_modules\.1.3.3@accepts","D:\personal\pro\ImClient\node_modules\.5.0.3@acorn","D:\personal\pro\ImClient\node_modules\.3.1

请问这个问题要怎么解决

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.