XDLError:ValidationError:世博会上不允许“方案”

bec*_*den 2 react-native expo

我正在尝试安装 expo -cli,但这对我不起作用。它很好地显示“加载 DevTools 时出错”

XDLError: ValidationError: "scheme" is not allowed
at constructUrlAsync (/@expo/xdl@58.0.16/src/UrlUtils.ts:187:13)
at Object.constructBundleUrlAsync (/@expo/xdl@58.0.16/src/UrlUtils.ts:19:10)
at getBundleUrlAsync (/@expo/xdl@58.0.16/src/project/ManifestHandler.ts:104:21)
at getManifestResponseAsync (/@expo/xdl@58.0.16/src/project/ManifestHandler.ts:208:24)
at /@expo/xdl@58.0.16/src/project/ManifestHandler.ts:130:49
Run Code Online (Sandbox Code Playgroud)

这是我的 package.json

包.json

Jak*_*Gl. 8

我发现了一个GitHub问题也有同样的问题,所以综上所述,你需要删除该.expo文件夹,所以尝试运行

rm -rf .expo 
Run Code Online (Sandbox Code Playgroud)