相关平台
React Native
使用框架: React
复现步骤
taro init “项目”
选择gitee的rn模板
安装依赖后执行
yarn upgradePeerdeps
yarn android
然后在打包app的时候报错
- What went wrong:
Execution failed for task ':expo-av:configureCMakeDebug[arm64-v8a]'.
com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 25 column 28 path $.libraries.expo-av::@6890427a1f51a3e7e1df.runtimeFiles[0]
期望结果
期望能正常启动
实际结果
控制台报错:
- What went wrong:
Execution failed for task ':expo-av:configureCMakeDebug[arm64-v8a]'.
com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 25 column 28 path $.libraries.expo-av::@6890427a1f51a3e7e1df.runtimeFiles[0]
环境信息
👽 Taro v3.6.23
Taro CLI 3.6.23 environment info:
System:
OS: Windows 11 10.0.22621
Binaries:
Node: 18.18.2 - D:\IDE\node\node.EXE
Yarn: 1.22.21 - D:\IDE\node.js\node_global\yarn.CMD
npm: 9.8.1 - D:\IDE\node\npm.CMD
npmPackages:
@tarojs/cli: 3.6.23 => 3.6.23
@tarojs/components: 3.6.23 => 3.6.23
@tarojs/helper: 3.6.23 => 3.6.23
@tarojs/plugin-framework-react: 3.6.23 => 3.6.23
@tarojs/plugin-platform-alipay: 3.6.23 => 3.6.23
@tarojs/plugin-platform-h5: 3.6.23 => 3.6.23
@tarojs/plugin-platform-jd: 3.6.23 => 3.6.23
@tarojs/plugin-platform-qq: 3.6.23 => 3.6.23
@tarojs/plugin-platform-swan: 3.6.23 => 3.6.23
@tarojs/plugin-platform-tt: 3.6.23 => 3.6.23
@tarojs/plugin-platform-weapp: 3.6.23 => 3.6.23
@tarojs/react: 3.6.23 => 3.6.23
@tarojs/rn-runner: 3.6.23 => 3.6.23
@tarojs/rn-supporter: 3.6.23 => 3.6.23
@tarojs/runtime: 3.6.23 => 3.6.23
@tarojs/runtime-rn: 3.6.23 => 3.6.23
@tarojs/shared: 3.6.23 => 3.6.23
@tarojs/taro: 3.6.23 => 3.6.23
@tarojs/taro-loader: 3.6.23 => 3.6.23
@tarojs/taro-rn: 3.6.23 => 3.6.23
@tarojs/webpack5-runner: 3.6.23 => 3.6.23
babel-preset-taro: 3.6.23 => 3.6.23
eslint-config-taro: 3.6.23 => 3.6.23
expo: ~47.0.3 => 47.0.14
react: ^18.1.0 => 18.2.0
react-native: ^0.70.1 => 0.70.15
1条答案
按热度按时间icomxhvb1#
https://github.com/zhiqingchen/taro-test/tree/tests/3.6.23
3.6.23 在 ci 上正常编译,可以试试这个仓库代码能否在自己的机器上编译通过。