Skip to content

Error while persisting cache: SyntaxError Unexpected token. #6723

Closed
@joonhocho

Description

@joonhocho
  • Provide a minimal code snippet / rnplay example that reproduces the bug.
  • Provide screenshots where appropriate
  • What's the version of React Native you're using?
    0.22.2
  • Does this occur on iOS, Android or both?
    tested only on iOS
  • Are you using Mac, Linux or Windows?
    Mac

transforming [========================================] 99% 857/863
Error while persisting cache: SyntaxError /path/to/some/code.js: Unexpected token (15:6)

I am suddenly getting this error, and it won't go away.
Not very helpful error message as it does not provide anything else other than path to the file.
The file does not have any syntax problem according to babel and eslint.
Is there any way to dig deeper into this error message?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions