【发布时间】:2016-10-23 12:52:41
【问题描述】:
我从 OSX 的根目录运行 npm install -g generator-keystone 但得到以下错误:
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
当我尝试使用 yo keystone 时,我得到:
-bash: yo: command not found
我确实尝试使用以下方法更新这些软件包:
npm update -g minimatch
npm update -g CSSselect
npm update -g CSSwhat
任何建议将不胜感激。
(PS 我安装了 Node 4.4.3 和 Mongo Shell 3.2.7)
【问题讨论】:
标签: node.js npm keystonejs