【问题标题】:Zurb Foundaion CLI not recognizing Zurb Stack on basic themeZurb Foundation CLI 在基本主题上无法识别 Zurb Stack
【发布时间】:2019-06-17 11:05:21
【问题描述】:

我是 Foundation 新手,我在通过 Foundation CLI 安装块时遇到问题。安装似乎没有注意到堆栈并继续以 zip 格式下载块

C:\Users\user\site>foundation blocks install sticky-topbar
You don't appear to be in a ZURB stack project, so we can't automatically install building blocks
? Do you want to download as a zip file? No

C:\Users\user\site>dir
Volume in drive C is OS
Volume Serial Number is CABF-C5A0

Directory of C:\Users\user\site

17/06/2019  12:17    <DIR>          .
17/06/2019  12:17    <DIR>          ..
17/06/2019  12:16                63 .gitignore
17/06/2019  12:16                71 CHANGELOG.md
17/06/2019  12:17    <DIR>          css
17/06/2019  12:16    <DIR>          etc
17/06/2019  12:16               974 gulpfile.js
17/06/2019  12:16             7,783 index.html
17/06/2019  12:16    <DIR>          js
17/06/2019  12:16    <DIR>          node_modules
17/06/2019  12:16           256,677 package-lock.json
17/06/2019  12:16               910 package.json
17/06/2019  12:16             1,378 README.md
17/06/2019  12:16    <DIR>          scss
17/06/2019  12:16           171,452 yarn.lock
           8 File(s)        439,308 bytes
           7 Dir(s)  320,466,063,360 bytes free

C:\Users\user\site>

我该如何解决这个问题。

我已安装所有依赖项并升级到最新版本,包括 node.js

我正在运行 Windows 10 专业版

【问题讨论】:

    标签: zurb-foundation zurb-foundation-6


    【解决方案1】:

    foundation new 报错

    因此我使用以下内容重新安装了项目,现在 Foundation CLI 版本 2.2.5 正在识别堆栈并安装块

    foundation new --framework sites --template zurb
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多