Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle exec pod install => ERR: No such file or directory #152

Closed
saiuya opened this issue Jul 1, 2024 · 8 comments
Closed

bundle exec pod install => ERR: No such file or directory #152

saiuya opened this issue Jul 1, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@saiuya
Copy link

saiuya commented Jul 1, 2024

Description

/Users//Library/Mobile Documents/comappleCloudDocs//code/RN/rnvisionos/node_modules/@callstack/react-native-visionos/sdks/hermes-engine/../../sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh


this path includes a space char, so can not find create-dummy-hermes-xcframework.sh file.

Steps to reproduce

when run command: bundle exec pod install

React Native Version

0.74.4

Affected Platforms

Build - MacOS

Output of npx react-native info

info Fetching system and libraries information...
(node:26456) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 14.4.1
  CPU: (8) arm64 Apple M1
  Memory: 119.91 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.7.3
    path: ~/.nvm/versions/node/v21.7.3/bin/node
  Yarn: Not Found
  npm:
    version: 10.5.0
    path: ~/.nvm/versions/node/v21.7.3/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.2
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

info Fetching system and libraries information...
(node:26456) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 14.4.1
  CPU: (8) arm64 Apple M1
  Memory: 119.91 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.7.3
    path: ~/.nvm/versions/node/v21.7.3/bin/node
  Yarn: Not Found
  npm:
    version: 10.5.0
    path: ~/.nvm/versions/node/v21.7.3/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.2
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Reproducer

https://github.com/callstack/react-native-visionos/

Screenshots and Videos

When Create your first App as "https://callstack.github.io/react-native-visionos-docs/docs/getting-started/create-first-app"


When it steps to "bundle exec pod install", I get this ERR message.

@okwasniewski
Copy link
Member

Hey,

I couldn't reproduce your issue, can you create a project on a different path? Let's say ~/projects?

@okwasniewski okwasniewski added the bug Something isn't working label Jul 2, 2024
@saiuya
Copy link
Author

saiuya commented Jul 2, 2024 via email

@okwasniewski
Copy link
Member

I'm not sure if react-native itself supports spaces in the path. I will double check that

@okwasniewski
Copy link
Member

Hey @saiuya,

I've checked this and it works for me without issues. It may be something else.. not a space. Some special character?

@saiuya
Copy link
Author

saiuya commented Jul 8, 2024 via email

@okwasniewski
Copy link
Member

I've double checked looks like it was the space 👍🏻 Here is a PR to react-native which should fix it: facebook#45316

@saiuya
Copy link
Author

saiuya commented Jul 8, 2024

Hey @saiuya,

I've checked this and it works for me without issues. It may be something else.. not a space. Some special character?

  • Hey, I try it again, I put the project in this path:
    /Users/yy/Library/Mobile Documents/com~apple~CloudDocs/University/code/RN
  • When I get to the visionos directory and run the bundle exec pod install command, It returns error message as follow:
[!] /bin/bash -c 
set -e
. /Users/yy/Library/Mobile Documents/com~apple~CloudDocs/University/code/RN/rn_visionos/node_modules/@callstack/react-native-visionos/sdks/hermes-engine/../../sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh
/bin/bash: line 2: /Users/yy/Library/Mobile: No such file or directory
  • Hope this tips help you.

@okwasniewski
Copy link
Member

The fix was merged upstream and should be included in upcoming releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants