0

So I'm currently trying to use expo start to test a project on my phone. However, when I do so I get the following error:

Invalid regular expression: /(node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\__tests__\.)$/: Unterminated character class

How can I fix this error?

node version: 13.6.0

npm version: 13.6

react version: 16.2.0

react-native version: 0.52.0

expo version: 6.3.1

windows: 7(can't currently upgrade)

All help is appreciated

kenmistry
  • 1,934
  • 1
  • 15
  • 24
Omi11
  • 49
  • 6

1 Answers1

0

Downgrading to Node.js 12.8 will resolve this. Please see attached link

react-native start giving Invalid regular expression invalid error

Swift
  • 790
  • 1
  • 5
  • 19