NervJS/taro

taro4 选择react-native-harmony 缺一个本地包 rnoh-react-native-harmony-0.72.13.tgz,图片传错了看下面的

Opened this issue · 2 comments

ppyds commented

屏幕截图 2024-10-02 012723

相关平台

鸿蒙

使用框架: React

复现步骤

windows系统 taro init创建项目选择
? 请输入项目介绍
? 请选择框架 React
? 是否需要使用 TypeScript ? Yes
? 是否需要编译为 ES5 ? Yes
? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass
? 请选择包管理工具 yarn
? 请选择编译工具 Webpack5
? 请选择模板源 Gitee(最快)
√ 拉取远程模板仓库成功!
? 请选择模板 react-native-harmony

期望结果

yarn 安装成功

实际结果

error "../react-native-harmony/rnoh-react-native-harmony-0.72.13.tgz": Tarball is not in network and can not be located in cache (["F:\react\react-native-harmony\rnoh-react-native-harmony-0.72.13.tgz","C:\Users\11535\AppData\Local\Yarn\Cache\v6\.tmp\166197b66aac452b73103e0e6ce95b83\.yarn-tarball.tgz"])

环境信息

  Taro CLI 4.0.8 environment info:
    System:
      OS: Windows 11 10.0.26100
    Binaries:
      Node: 18.20.4 - J:\app\nodeJs\node.EXE
      Yarn: 1.22.22 - J:\app\nvm\node\node_global\yarn.CMD
      npm: 10.7.0 - J:\app\nodeJs\npm.CMD
    npmPackages:
      @tarojs/cli: 4.0.8 => 4.0.8
      @tarojs/components: 4.0.8 => 4.0.8
      @tarojs/components-rn: 4.0.8 => 4.0.8
      @tarojs/helper: 4.0.8 => 4.0.8
      @tarojs/plugin-framework-react: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-alipay: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-h5: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-jd: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-qq: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-swan: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-tt: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-weapp: 4.0.8 => 4.0.8
      @tarojs/react: 4.0.8 => 4.0.8
      @tarojs/rn-runner: 4.0.8 => 4.0.8
      @tarojs/rn-supporter: 4.0.8 => 4.0.8
      @tarojs/runtime: 4.0.8 => 4.0.8
      @tarojs/runtime-rn: 4.0.8 => 4.0.8
      @tarojs/shared: 4.0.8 => 4.0.8
      @tarojs/taro: 4.0.8 => 4.0.8
      @tarojs/taro-loader: 4.0.8 => 4.0.8
      @tarojs/taro-rn: 4.0.8 => 4.0.8
      @tarojs/webpack5-runner: 4.0.8 => 4.0.8
      babel-preset-taro: 4.0.8 => 4.0.8
      eslint-config-taro: 4.0.8 => 4.0.8
      react: ^18.2.0 => 18.3.1
      react-native: ^0.72.1 => 0.72.17


补充信息

"react-native-harmony": "file:../react-native-harmony/rnoh-react-native-harmony-0.72.13.tgz", 我把这行删掉才能安装成功,这个文件找不到,不删我连ussue都提不了

ppyds commented

Uploading 屏幕截图 2024-12-03 010121.png…