I am trying to run the expo eject
command in my project directory, the command seems to work fine up until it gets to the "Applying iOS configuration" stage.
At the point, it provides me with the following error and abandons the expo ejecting process;
The system cannot find the path specified. spawn /bin/cp ENOENT
Error: spawn /bin/cp ENOENT at notFoundError
(C:\\Users\*\\AppData\\Roaming\\npm\\node\_modules\\expo-cli\\node\_modules\\cross-spawn\\lib\\enoent.js:6:26) at verifyENOENT (C:\\Users\*\\AppData\\Roaming\\npm\\node\_modules\\expo-cli\\node\_modules\\cross-spawn\\lib\\enoent.js:40:16) at ChildProcess.cp.emit (C:\\Users\*\\AppData\\Roaming\\npm\\node\_modules\\expo-cli\\node\_modules\\cross-spawn\\lib\\enoent.js:27:25) at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:272:12)
Maybe updating your expo-cli may fix it
npm install -g expo-cli
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.