簡體   English   中英

通過 EXPO-CLI 啟動 React Native Project 時遇到錯誤。 我是新來的反應原生

[英]I am facing error while starting React Native Project through EXPO-CLI. I am new to react native

EXPO CLI 錯誤
PS D:\Final Year Project\practice\rn-test-app> npm start

@start D:\Final Year Project\practice\rn-test-app

> expo start

Starting project at D:\Final Year Project\practice\rn-test-app

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
Error: Metro Bundler process exited with code 1
    at ChildProcess.<anonymous> (C:\@expo\xdl@56.2.8\src\Project.ts:1804:16)
    at Object.onceWrapper (events.js:300:26)
    at ChildProcess.emit (events.js:210:5)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)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\ANONYMOUS\AppData\Roaming\npm-cache\_logs\2019-10-08T21_04_22_912Z-debug.log

如果您使用的是 Mac,將 Xcode 更新到最新版本就可以了。 請嘗試一下,然后初始化一個新項目。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM