【发布时间】:2018-06-05 00:34:34
【问题描述】:
我正在尝试使用 Bootstrap 的构建工具,但在使用 npm install bootstrap 时遇到了问题。当我download the files from their site时,我没有问题。
当我通过 npm (npm install bootstrap) 安装 Bootstrap,然后在 bootstrap 文件夹中运行 npm install 时,它看起来像已安装,但随后没有任何命令(如 npm run dist)起作用。
当我从站点下载文件然后在文件夹上运行npm install 时,运行命令没有问题。
我注意到 npm 安装包含的文件要少得多:
与下载版本相比:
我错过了什么?我应该单独安装其他东西吗?
我在 Mac 中,使用节点 8.11.2 和 npm 6.1.0
【问题讨论】:
标签: npm bootstrap-4