error Invalid regular expression

Hi

Try setting EXPO_DEBUG to true before starting expo to see if you get more information about where the problem happens.

Something like this:

C:\Projects\testapp>echo %EXPO_DEBUG%
%EXPO_DEBUG%

C:\Projects\testapp>set EXPO_DEBUG=true

C:\Projects\testapp>echo %EXPO_DEBUG%
true

C:\Projects\testapp>expo start

Also, do you by any chance have something mentioning __fixtures__ or heapCature etc. in app.json, package.json or other config files in your project?

The bad regular expression looks like it has Windows path separators (backslashes) in it instead of slashes. It’s possible that running expo start from within bash from WSL will fix this.

EDIT:
Your error message looks suspiciously like this post: