我第一次构建反应本机应用程序。我想使用 native-base 所以我遵循了文档:https ://docs-v2.nativebase.io/docs/GetStarted.html
>> npm install native-base@2 --save
npm WARN ERESOLVE overriding peer dependency
added 39 packages, and audited 1153 packages in 10s
139 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Run Code Online (Sandbox Code Playgroud)
反应本机链接
warn 包 native-base 包含无效配置:不允许“dependency.assets”。请使用“react-native config”命令验证其是否正确链接,并就此联系软件包维护人员。错误:未知命令“链接”
我尝试了以下几种方法,但仍然没有运气
>> npx react-native-asset
its giving error as : cannot find module 'react-native.config.js'
I could not get this config file as well.
next I have deleted node modules and did npm install again, still the …Run Code Online (Sandbox Code Playgroud)