SyntaxError: Unexpected token '<<' on expo start

Unexpected token '<<'
/Users/user/Desktop/repo/metro.config.js:4

I’m encountering this error. What can I do to resolve this issue?

Well, what’s on line 4 of that file?

Better yet, post the whole file here.

1 Like