Skip to content

@tarojs/mini-runner依赖的stylus被删除导致无法安装依赖 #18060

@git0x4c

Description

@git0x4c

请先确认

  • 我已搜索并确定这个提交不是重复的

Taro 版本

v3

相关平台

  • 所有平台
  • Web 端(H5)
  • 移动端(React-Native)
  • 鸿蒙(Harmony)
  • 鸿蒙容器(Harmony Hybrid)
  • ASCF 元服务
  • 快应用(QuickApp)
  • 所有小程序
  • 微信小程序
  • 企业微信小程序
  • 京东小程序
  • 百度小程序
  • 支付宝小程序
  • 支付宝 IOT 小程序
  • 头条小程序
  • QQ 小程序
  • 钉钉小程序
  • 飞书小程序
  • 快手小程序

小程序基础库版本

No response

使用框架

React

问题描述

@tarojs/mini-runner依赖的stylus被删除导致无法安装依赖

stylus包在2025年7月23日被npm官方删除

Jenkins报错

15:40:29  ERR_PNPM_NO_VERSIONS  No versions available for stylus. The package may be unpublished.

15:40:29 This error happened while installing the dependencies of @tarojs/mini-runner@3.6.31

@tarojs/mini-runner 仓库

https://www.npmjs.com/package/@tarojs/mini-runner?activeTab=code

Image

stylus npm仓库

https://www.npmjs.com/package/stylus?activeTab=readme

复现链接

复现步骤

pnpm install

环境信息

👽 Taro v3.6.31

  Taro CLI 3.6.31 environment info:
    System:
      OS: macOS 15.3.2
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
      Yarn: 1.22.22 - ~/.nvm/versions/node/v18.19.0/bin/yarn
      npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.31 => 3.6.31 
      @tarojs/components: 3.6.31 => 3.6.31 
      @tarojs/helper: 3.6.31 => 3.6.31 
      @tarojs/plugin-framework-react: 3.6.31 => 3.6.31 
      @tarojs/plugin-platform-h5: 3.6.31 => 3.6.31 
      @tarojs/react: 3.6.31 => 3.6.31 
      @tarojs/runtime: 3.6.31 => 3.6.31 
      @tarojs/shared: 3.6.31 => 3.6.31 
      @tarojs/taro: 3.6.31 => 3.6.31 
      @tarojs/webpack5-runner: 3.6.31 => 3.6.31 
      babel-preset-taro: 3.6.31 => 3.6.31 
      eslint-config-taro: 3.6.31 => 3.6.31 
      react: 18.2.0 => 18.2.0

贡献代码

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-reactFramework - ReactT-alipayTarget - 编译到支付宝小程序T-ddT-feishuT-jdTarget - 编译到京东小程序T-kwaiT-qqTarget - 编译到 QQ 小程序T-qyT-swanTarget - 编译到百度小程序T-ttTarget - 编译到字节跳动小程序T-weappTarget - 编译到微信小程序V-4Version - 4.xbugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions