Closed saiuya closed 4 months ago
Hey,
I couldn't reproduce your issue, can you create a project on a different path? Let's say ~/projects
?
Thank you for reply
I have put my project in another path, so that i resolved it。 However, when the path including a space, the create process will be in error, could you fix this issue?thank you。 Btw, created project makes vscode typescript server deactivate, i would give a tissue latter。
Yan
2024年7月2日(火) 23:20 Oskar Kwaśniewski @.***>:
Hey,
I couldn't reproduce your issue, can you create a project on a different path? Let's say ~/projects?
— Reply to this email directly, view it on GitHub https://github.com/callstack/react-native-visionos/issues/152#issuecomment-2203352937, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHP5EV63T2ZFEQNZ2TO7WBTZKKZJPAVCNFSM6AAAAABKF6MOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBTGM2TEOJTG4 . You are receiving this because you authored the thread.Message ID: @.***>
I'm not sure if react-native itself supports spaces in the path. I will double check that
Hey @saiuya,
I've checked this and it works for me without issues. It may be something else.. not a space. Some special character?
I put the project in Apple cloud before, so it contains a ~,maybe it is the reason!
2024年7月8日(月) 20:44 Oskar Kwaśniewski @.***>:
Hey @saiuya https://github.com/saiuya,
I've checked this and it works for me without issues. It may be something else.. not a space. Some special character?
— Reply to this email directly, view it on GitHub https://github.com/callstack/react-native-visionos/issues/152#issuecomment-2213789920, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHP5EVYAH57BEBDZV4EZ5D3ZLJ3TJAVCNFSM6AAAAABKF6MOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTG44DSOJSGA . You are receiving this because you were mentioned.Message ID: @.***>
I've double checked looks like it was the space 👍🏻 Here is a PR to react-native which should fix it: https://github.com/facebook/react-native/pull/45316
Hey @saiuya,
I've checked this and it works for me without issues. It may be something else.. not a space. Some special character?
/Users/yy/Library/Mobile Documents/com~apple~CloudDocs/University/code/RN
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
The fix was merged upstream and should be included in upcoming releases.
Description
/Users//Library/Mobile Documents/com~apple~CloudDocs//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
Stacktrace or Logs
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.