Skip to content

Invalid Podfile file: cannot load such file -- /Users/trammbp/Downloads/react-native-develop/myproject/node_modules/@react-native-community/cli-platform-ios/native_modules. #29730

@tramnguyengh

Description

@tramnguyengh

I tried to build a project from an existing source.
I go to the project folder and run yarn install, it throws errors:

YN0001: │ HTTPError: @react-native-lightkits/android-keyboard-adjust@npm:^1.0.0: Response code 404 (Not Found)
at s. (/Users/trammbp/.yarn/releases/yarn-2.1.1.cjs:23:36333)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
➤ YN0000: └ Completed in 1.61s
➤ YN0000: Failed with errors in 1.62s

To continue I run pod install, and get the error

[!] Invalid Podfile file: cannot load such file -- /Users/trammbp/Downloads/react-native-develop/myproject/node_modules/@react-native-community/cli-platform-ios/native_modules.

from /Users/trammbp/Downloads/react-native-develop/myproject/ios/Podfile:2

-------------------------------------------

platform :ios, '9.0'

require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

-------------------------------------------

Can anyone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackNeeds: Issue TemplateThis issue does not make use of the Issue Template, and may be missing necessary information.Resolution: LockedThis issue was locked by the bot.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions