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

鸿蒙编译问题:beta.100 前有 render.ets 路径转换问题,100之后路径转换修复,但使用最新版 IDE(5.0.3.403)报错 #15987

Open
weizs opened this issue Jun 25, 2024 · 2 comments

Comments

@weizs
Copy link

weizs commented Jun 25, 2024

相关平台

鸿蒙

使用框架: React

复现步骤

beta.100 前有 render.ets 路径转换问题(参考 #15985 ),100之后路径转换修复,但使用最新版 IDE(5.0.3.403)报错,无法正常编译

ArkTS:Cannot find type definition file for: node

期望结果

正常编译

实际结果

不能正常编译

环境信息

👽 Taro v4.0.0-beta.107


  Taro CLI 4.0.0-beta.107 environment info:
    System:
      OS: macOS 13.6.7
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
      Yarn: 1.22.19 - /usr/local/bin/yarn
      npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
    npmPackages:
      @tarojs/cli: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/components: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/helper: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/plugin-framework-react: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/plugin-platform-harmony-ets: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/react: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/runtime: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/shared: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/taro: 4.0.0-beta.107 => 4.0.0-beta.107 
      @tarojs/vite-runner: 4.0.0-beta.107 => 4.0.0-beta.107 
      babel-preset-taro: 4.0.0-beta.107 => 4.0.0-beta.107 
      eslint-config-taro: 4.0.0-beta.107 => 4.0.0-beta.107 
      react: ^18.0.0 => 18.2.0 
@hatiwowo
Copy link

附议,用最新版 IDE5.0.3.403,报错ArkTS:Cannot find type definition file for: node。不知道从何下手

@weizs
Copy link
Author

weizs commented Jun 25, 2024

附议,用最新版 IDE5.0.3.403,报错ArkTS:Cannot find type definition file for: node。不知道从何下手

偶尔编译倒是可以删掉 runtime/dist 下的两条 /// 注释,只是团队所有人每次编译都要删一遍,有点麻烦

This was referenced Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants