不应该有额外的属性'nodeModulesPath'(Expo React Native) [英] should NOT have additional property 'nodeModulesPath'(Expo React Native)
问题描述
我该如何解决这个问题.我在手机上升级我的 expo 应用程序后收到此错误:
How can I resolve this issue. I am getting this error after I upgraded my expo application on my phone:
错误:验证 app.json 中的字段时出现问题.请参阅 https://docs.expo.io/workflow/configuration/• 不应有额外的属性nodeModulesPath".
Error: Problem validating fields in app.json. See https://docs.expo.io/workflow/configuration/ • should NOT have additional property 'nodeModulesPath'.
推荐答案
是的,我遇到了同样的问题.所以我升级了expo-cli使用npm install -g expo-cli
我的 expo-cli 版本是 4.4.4,我再也看不到错误了.谢谢你,Sardorek Aminjonov
Yes, I faced the same issue.
So I upgraded the expo-cli using
npm install -g expo-cli
My expo-cli version is 4.4.4 and I can't see the error anymore.
Thank you, Sardorek Aminjonov
这篇关于不应该有额外的属性'nodeModulesPath'(Expo React Native)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!