小编use*_*125的帖子

我在运行npm start时收到无效的正则表达式错误

我最近安装了博览会。我已经使用expo init创建了一个项目。创建后,当我运行npm start时,我遇到以下错误,请解决我的问题

> @ start C:\Users\ujwal\Desktop\Java\my-new-project
> expo start

Starting project at C:\Users\ujwal\Desktop\Java\my-new-project
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 …
Run Code Online (Sandbox Code Playgroud)

npm react-native expo

0
推荐指数
2
解决办法
1887
查看次数

标签 统计

expo ×1

npm ×1

react-native ×1