react-native-macos icon indicating copy to clipboard operation
react-native-macos copied to clipboard

ENOENT: no such file or directory, chdir

Open kirill-konshin opened this issue 5 years ago • 1 comments

🐛 Bug Report

$ react-native-macos run-macos
...
    export SOURCE_ROOT=/Users/xxx/mac/macos
    export SRCROOT=/Users/xxx/mac/macos
...
ENOENT: no such file or directory, chdir '/Users/xxx/mac/macos' -> 'macos'

The app itself works... the build exits with error though.

Folder structure:

  • mac (project root)
    • macos
      • build
      • mac
      • mac.xcodeproj
    • node_modules
    • rn-cli.config.js

To Reproduce

Install from scratch as per readme. Then run react-native-macos run-macos.

  • macOS v10.14.6
  • react-native-macos v0.19.3

kirill-konshin avatar Aug 10 '19 03:08 kirill-konshin

How do we fix this problem, I am getting this `Scanning folders for symlinks in /Users/Kiko/soundcloud-client/node_modules (15ms)

ENOENT: no such file or directory, chdir 'macos'`

fjpardo avatar Mar 21 '20 02:03 fjpardo