Kbone——创建项目报错 name can no longer contain capital letters

简介: Kbone——创建项目报错 name can no longer contain capital letters

前言

打算重构小程序,选择了kbone,初始化创建项目出现了问题~

报错如下:

D:\wamp\www\TIMSDK>kbone init KboneIM
? 请选择开发小程序或 Web 的技术栈 Vue
Kbone CLI 正在启动...
Kbone CLI 即将执行 init 命令...
Could not create a project called "KboneIM" because of npm naming restrictions:
  *  name can no longer contain capital letters

步骤

其实这是因为命名中包含了大写字母,所以我们重命名即可。

D:\wamp\www\TIMSDK>kbone init kbone-im
? 请选择开发小程序或 Web 的技术栈 Vue
Kbone CLI 正在启动...
Kbone CLI 即将执行 init 命令...
Kbone CLI 即将创建一个新的应用在 D:\wamp\www\TIMSDK\kbone-im
正在安装依赖: 你可以使用 ctrl + c 退出,然后自行安装。
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of
 core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[ .................] / fetchMetadata: sill pacote range manifest for p-locate@^4.1.0 fetched in 3294ms

学无止境,谦卑而行.

目录
相关文章
|
3月前
|
JavaScript
Invalid project name: “Philosophers-Stone“Warning: name can no longer contain capital letters
Invalid project name: “Philosophers-Stone“Warning: name can no longer contain capital letters
《How Customers Are Using the IBM Data Science Experience-Expected Cases and Not So Expected Ones》电子版地
How Customers Are Using the IBM Data Science Experience-Expected Cases and Not So Expected Ones
《How Customers Are Using the IBM Data Science Experience-Expected Cases and Not So Expected Ones》电子版地
The Preliminary Contest for ICPC China Nanchang National Invitational A题 PERFECT NUMBER PROBLEM
The Preliminary Contest for ICPC China Nanchang National Invitational A题 PERFECT NUMBER PROBLEM
63 0
|
机器学习/深度学习 人工智能
The Preliminary Contest for ICPC China Nanchang National Invitational I题 Max answer
The Preliminary Contest for ICPC China Nanchang National Invitational I题 Max answer
87 0
|
算法 Linux 测试技术
【论文阅读】(2014)Combinatorial Benders’ Cuts for the Strip Packing Problem
【论文阅读】(2014)Combinatorial Benders’ Cuts for the Strip Packing Problem
221 0
【论文阅读】(2014)Combinatorial Benders’ Cuts for the Strip Packing Problem
Choosing Teams
Choosing Teams
121 0
Choosing Teams
LeetCode之Detect Capital
LeetCode之Detect Capital
91 0
China Cybersecurity Law Raises the Bar
2017 witnessed the change of the regulatory environment inChina with the introduction of the Cybersecurity Law, which raises the bar for companies d.
1460 0
China Cybersecurity Law Raises the Bar
How China's Developers Are Defining The Information Age (Infographic 5)
China’s Developers: the technologies of tomorrow that are defining the information age
1615 0
How China's Developers Are Defining The Information Age (Infographic 5)