3

我做了

npm install -g Foundation-cli bower gulp

得到

       /|
      | |  /| .
 .  /\|  \/ |/|
 |\/          |         Thanks for installing Foundation for Apps
 ||\__/\____/||         ------------------------------------------

然后,我做了

宝石安装捆绑器

并得到

成功安装 bundler-1.10.5

但是当我尝试

基础应用程序新 myApp

我有

'foundation-apps' 不是内部或外部命令、可运行程序或批处理文件。

在 Windows 7 上工作,在代理后面

4

3 回答 3

3

我让它在 Windows 10 中工作,但我相信它是一样的。
当我检查 npm 文件夹时:C:\Users\(YourName)\AppData\Roaming\npm
命令名称是foundation而不是foundation-apps
所以你应该输入:foundation new

于 2015-11-24T23:22:39.977 回答
0

Foundation Studios 在 URL 上安装说明https://foundation.zurb.com/apps/docs/#!/installation

告诉这个

“您现在可以访问系统上的foundation-apps 命令!您将使用它来设置和更新新项目”

Siu Pang Tommy Choi 给出了最佳答案,因为foundation command 代替了foundation-apps

仍然令人困惑,因为我正在按照上述网址的说明进行操作。

你确定没有基础应用命令吗?

于 2018-08-23T13:49:22.393 回答
0

If you're using fedora-22 and potentially other OSes Siu Pang Tommy Choi's answer is also applicable; that is, replace foundation-apps new NAME with the foundation new NAME.

This is the first time I've encountered this problem, so perhaps there has been a change within the last few versions that has deprecated the foundation-apps command (or else you should consider this a work-around). Just make sure that you correctly specify that you want an 'app' and not a 'site' when prompted.

于 2015-12-10T00:59:39.430 回答