Expo Detach: `sed: -e expression #1, char 1: unknown command:`

exp detach with Expo v17.0.0

[exp] Making sure project is set up correctly...
[exp] Your project looks good!
[exp] Problem checking node_modules dependencies: Unexpected token v in JSON at position 8191
Validating project manifest...
Downloading iOS code...
Moving iOS project files...
Naming iOS project...
sed: -e expression #1, char 1: unknown command: `''
[exp] Process exited with non-zero code: 1
Error: Process exited with non-zero code: 1
    at ChildProcess.child.on (/Users/peter/.config/yarn/global/node_modules/@exponent/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Thanks!

What is the project name you specified in exp.json? I believe this is a known issue but it would be good to verify which cases cause it.

Hey, thanks for the reply!


“name”: “Tally”,

“slug”: “tally”

Thanks,

Peter Piekarczyk

https://twitter.com/peterpme
https://github.com/peterpme

Ah. Actually this seems like a different issue. What operating system are you running?

1 Like

(I suspect you are running Linux, based on this article).

Edit: Nevermind, that’s not the cause. Actually I suspect your system is pointing at a different version of sed than ships by default with OSX.

1 Like

I believe this will be fixed with this commit, shipping with our next ExpoKit release.

1 Like