【问题标题】:Installing material-design-lite with NPM使用 NPM 安装 material-design-lite
【发布时间】:2015-07-14 08:52:31
【问题描述】:

我正在研究 MEAN 堆栈(Mongo、Express、Angular、Node),并希望使用 Google 的 Material Design Lite 库。根据the docs 应该运行

npm install material-design-lite --save

在 NPM 项目中启用 mdl 组件。我收到以下错误:

npm ERR! Failed at the material-design-lite@1.0.0 install script 'napa mojombo/clippy'.
npm ERR! This is most likely a problem with the material-design-lite package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     napa mojombo/clippy`

所以napa mojombo/clippy 有问题有人知道如何解决这个问题吗?

【问题讨论】:

    标签: node.js npm material-design


    【解决方案1】:

    尝试用详细的方法找到根本原因

    npm install material-design-lite --save --verbose
    

    【讨论】:

    【解决方案2】:

    npm install material-design-lite@1.0.0-3
    这应该可行,issue here

    【讨论】:

    • 现在可用的版本1.3.0
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-10-18
    • 1970-01-01
    • 1970-01-01
    • 2016-05-22
    • 2016-07-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多