发布软件包时出错-“名称”对于新软件包无效

时间:2018-12-15 14:13:50

标签: yarnpkg

我正在尝试发布软件包,但得到:错误无法发布软件包:

  

https://registry.yarnpkg.com/CreatorFramework:\“ CreatorFramework \”是   对于新软件包无效

如果程序包名称为Creator,则结果相同

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

出现此错误是因为 npm pkg 名称不能包含 大写 字母。当我在 pkg 名称中使用 UPPERCASE 时,我也遇到了同样的错误,比如这里 apphttpRequestenter image description here

当我从 apphttpRequest 更改为所有 LOWERCASE 字符即 app-http-request 时,它已成功发布。 enter image description here