小编Lea*_*ner的帖子

warn 包 native-base 包含无效配置:不允许“dependency.assets”

我第一次构建反应本机应用程序。我想使用 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)

reactjs react-native

5
推荐指数
1
解决办法
2622
查看次数

标签 统计

react-native ×1

reactjs ×1