Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用taro创建的rn无法启动,卡在最后一步yarn ios #16675

Open
xinmifengboy opened this issue Oct 11, 2024 · 1 comment
Open

使用taro创建的rn无法启动,卡在最后一步yarn ios #16675

xinmifengboy opened this issue Oct 11, 2024 · 1 comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@xinmifengboy
Copy link

相关平台

React Native

复现仓库

https://github.com/xinmifengboy/app.git

使用框架: React

复现步骤

根据官方文档视频一步步来的

期望结果

可以构建rn项目,启动ios模拟器

实际结果

无法启动

环境信息

👽 Taro v3.3.3


  Taro CLI 3.3.3 environment info:
    System:
      OS: macOS 15.0.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.12.1 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 8.19.2 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.3.3 => 3.3.3 
      @tarojs/components: 3.3.3 => 3.3.3 
      @tarojs/mini-runner: 3.3.3 => 3.3.3 
      @tarojs/react: 3.3.3 => 3.3.3 
      @tarojs/runtime: 3.3.3 => 3.3.3 
      @tarojs/taro: 3.3.3 => 3.3.3 
      @tarojs/webpack-runner: 3.3.3 => 3.3.3 
      babel-preset-taro: 3.3.3 => 3.3.3 
      eslint-config-taro: 3.3.3 => 3.3.3 
      react: ^17.0.2 => 17.0.2 
      react-native: ^0.66.0 => 0.66.5 
    npmGlobalPackages:
      typescript: 5.1.3

补充信息

在执行 yarn build:rn --platform ios 时候跟视频内容有出入,不知道是不是
meta@metadeMacBook-Pro app % yarn build:rn --platform ios
yarn run v1.22.10
$ taro build --type rn --platform ios
👽 Taro v3.3.3

                Welcome to Metro!
          Fast - Scalable - Integrated

transform[stdout]: 启动 样式文件处理开始 src/app.scss
transform[stderr]: DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
transform[stderr]:
transform[stderr]: More info: https://sass-lang.com/d/legacy-js-api
transform[stderr]:
transform[stdout]: 启动 样式文件处理开始 src/pages/index/index.scss
transform[stderr]: DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
transform[stderr]:
transform[stderr]: More info: https://sass-lang.com/d/legacy-js-api
transform[stderr]:
transform[stdout]: 编译 样式文件处理完毕 src/app.scss
transform[stdout]: 编译 样式文件处理完毕 src/pages/index/index.scss
Writing bundle output to: ios/main.jsbundle
Writing sourcemap output to: ./ios/main.map
Done writing bundle output
Done writing sourcemap output
transform[stdout]: 启动 样式文件处理开始 src/app.scss
info Copying 4 asset files
info Done copying assets
transform[stdout]: 编译 样式文件处理完毕 src/app.scss
transform[stdout]: 启动 样式文件处理开始 src/pages/index/index.scss
transform[stdout]: 编译 样式文件处理完毕 src/pages/index/index.scss
transform[stderr]: DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
transform[stderr]:
transform[stderr]: More info: https://sass-lang.com/d/legacy-js-api
transform[stderr]:
transform[stderr]: DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
transform[stderr]:
transform[stderr]: More info: https://sass-lang.com/d/legacy-js-api
transform[stderr]:
✨ Done in 10.62s.

This was referenced Oct 12, 2024
@crise1993
Copy link

image
为什么没法提交,这个链接有什么问题吗

@TheKonka TheKonka added V-3 Version - 3.x F-react Framework - React T-rn Target - 编译到 React Native labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants