关于Node.js,Bootstrap npm软件包最近被弃用了吗? [英] Concerning Node.js was Bootstrap npm package recently deprecated?
问题描述
我正在尝试使用 npm install
方法安装 Bootstrap 。我已经有一段时间了,想知道我做错了什么吗? npm安装仍包含在 Bootstrap 网站以及 github 和 npm 页。
I am trying to install Bootstrap using the npm install
method. I have been on this for a while now and am wondering if I am doing something wrong? the npm install is still included on Bootstrap site as well as github and the npm page.
根据我的理解,使用Bower已被弃用。使用gulp时发生严重问题。
From what I understand using bower has been deprecated. Had serious issues using gulp. Any assistance or a link to an updated tutorial would be greatly appreciated.
尝试通过终端安装时发生以下错误:
Following errors occured while trying to install via terminal:
~/GitHub/GitSite $ npm install boostrap
npm WARN deprecated boostrap@2.0.0: Package no longer supported.
Contact support@npmjs.com for more info.
npm WARN gitsite@1.0.0 No repository field.
+ boostrap@2.0.0
updated 1 package in 1.902s
~/GitHub/GitSite $ npm install boostrap jquery popper.js --save
npm WARN deprecated boostrap@2.0.0: Package no longer supported.
Contact support@npmjs.com for more info.
npm WARN gitsite@1.0.0 No repository field.
+ boostrap@2.0.0
+ jquery@3.3.1
+ popper.js@1.14.3
updated 3 packages in 2.216s
下载中包含所有正确的文件夹,但是,在node_modules> boostrap中有一个自述文件,内容为:
In the download was included all the correct folders, however, in node_modules > boostrap there was a README file that said:
已淘汰的软件包
Deprecated Package
此不再支持该软件包,并且已弃用。为了避免
被恶意使用,npm会保留在软件包名称上。
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
如果对此
有疑问,请联系support@npmjs.com。
Please contact support@npmjs.com if you have questions about this package.
推荐答案
package.json依赖项中是否包含bootstrap@2.0.0? ?
Do you have bootstrap@2.0.0 listed in your package.json dependencies?
尝试 npm i bootstrap@4.1.0
这篇关于关于Node.js,Bootstrap npm软件包最近被弃用了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!