Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

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

Description

@robinzhx

你好大大。我想看看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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions