我对本机反应完全陌生。尝试在将现有的反应本机应用程序克隆到我的系统 => windows 中的天气应用程序后运行它,但在执行 npm start 后尝试在我的 windows 系统中运行项目时出现以下包错误:
$ npm start
> Weather@0.1.0 start C:\Users\subho\Desktop\subhojits-weather-app
> react-native-scripts start
7:22:54 PM: Starting packager...
***ERROR STARTING PACKAGER***
Warning: 'react' peer dependency missing. Run `npm ls` in C:\Users\subho\Desktop\subhojits-weather-app to see full warning.
If there is an issue running your project, please run `npm install` in C:\Users\subho\Desktop\subhojits-weather-app and restart.
Starting React Native packager...
Scanning folders for symlinks in C:\Users\subho\Desktop\subhojits-weather-app\node_modules (110ms)
Invalid regular expression: /(.*\\__fixtures__\\.*|node_modules[\\\]react[\\\]dist[\\\].*|website\\node_modules\\.*|heapCapture\\bundle\.js|.*\\__tests__\\.*)$/: Unterminated character class
我也不知道在我的 Windows 系统中成功运行该应用程序需要遵循哪些其他过程。如果答案中也可以提到逐步过程,那就太好了。任何有关此问题的帮助将不胜感激。