如何在react-native中修复“无效的正则表达式”?

时间:2019-11-08 06:28:29

标签: react-native expo

E:\React-Native\reactnativeapp>npm start

我通过NPM命令通过了此命令以VS代码编译我的项目,但上次却给了我错误。

> @ start E:\React-Native\reactnativeapp
> expo start


Starting project at E:\React-Native\reactnativeapp

Expo DevTools is running at http://localhost:19002

Opening DevTools in the browser... (press shift-d to disable)

error Invalid regular expression:
 /(.*\\__fixtures__\\.*|node_modules[\\\]react[\\\]dist[\\\].*|website\\node_modules\\.*|heapCapture\\bundle\.js|.*\\__tests__\\.*)$/: Unterminated character class. Run CLI with --verbose flag for more details.

Metro Bundler process exited with code 1

Set EXPO_DEBUG=true in your env to view the stack trace.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `expo start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ashish\AppData\Roaming\npm-cache\_logs\2019-11-08T06_13_41_377Z-debug.log

0 个答案:

没有答案