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从3.4.14升级到3.6.24版本,把node_modules,package-lock.json,yarn.lock删掉了,无法重新 npm i安装依赖 #16376

Open
leung0727 opened this issue Aug 23, 2024 · 1 comment
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@leung0727
Copy link

leung0727 commented Aug 23, 2024

相关平台

微信小程序

小程序基础库: 3.5.5
使用框架: Vue 3

复现步骤

1.taro update self 3.6.24
2.taro update project 3.6.24
3.rmdir /s /q node_modules
4.rm package-lock.json
5.rm yarn.lock
6.npm install

期望结果

重新安装依赖,版本升级

实际结果

无法重新安装依赖
image

环境信息

👽 Taro v3.6.24


  Taro CLI 3.6.24 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 16.20.2 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 9.9.2 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.24 => 3.6.24
      @tarojs/components: 3.6.24 => 3.6.24
      @tarojs/mini-runner: ^3.6.24 => 3.6.24
      @tarojs/plugin-framework-vue3: 3.6.24 => 3.6.24
      @tarojs/plugin-html: 3.6.24 => 3.6.24
      @tarojs/runtime: 3.6.24 => 3.6.24
      @tarojs/taro: 3.6.24 => 3.6.24
      @tarojs/webpack-runner: ^3.6.24 => 3.6.24
      @tarojs/webpack5-runner: ^3.6.24 => 3.6.24
      babel-preset-taro: 3.6.24 => 3.6.24
      eslint-config-taro: 3.6.24 => 3.6.24


@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Aug 23, 2024
@TheKonka
Copy link
Member

项目的 typescript 版本太低了? 换yarn 或者 pnpm 试试

This was referenced Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

No branches or pull requests

2 participants