Skip to content

latest版本无法使用 npm 安装 #3323

@llxq

Description

@llxq

NutUI 包名

@nutui/nutui

NutUI 版本号

latest

平台

h5

重现链接

https://codesandbox.io/p/devbox/nutui4-vite-demo-forked-dyp7gd?file=%2Fpackage.json%3A4%2C1&workspaceId=ws_CyX1EDbucsy473vQ9nANEd

重现步骤

  1. 打开重现链接
  2. 执行命令 npm i @nutui/nutui
  3. 控制台报错:Unsupported URL Type "workspace:": workspace:^

期望的结果是什么?

  • 执行命令 npm i @nutui/nutui 能正常安装

实际的结果是什么?

Image

环境信息

System:
OS: macOS 13.7.8
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 18.55 MB / 16.00 GB
Shell: 5.9
Binaries:
Node: 20.19.2
Yarn: 1.22.22
npm: 10.8.2
pnpm: 10.33.0
bun: 1.1.22
Browsers:
Chrome: 146.0.7680.180
Safari: 18.6

其他补充信息

4.3.14 版本是没问题的,最新的 latest4.3.15-beta.1,而这个 beta 版本的依赖声明有缺陷导致无法通过npm 安装

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions