zurb / foundation-apps

The first front-end framework created for developing fully responsive web apps.
http://foundation.zurb.com/apps
MIT License
1.58k stars 216 forks source link

command not found: foundation-apps #718

Closed jessepinuelas closed 8 years ago

jessepinuelas commented 8 years ago

I am not able to run the foundation-apps via command line. Ran the following with no luck. 1) npm install -g foundation-cli bower gulp 2) gem install bundler 3) tried to create project on desktop via foundation-apps new myApp 4) Lost some CLI love so gave the Yeti Launch a go and got the following error on startup: Uncaught Exception: Error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.: (null) at Error (native)

I was able to run the project through the yeti launcher despite the error but on my system can not run foundation-apps from CLI. Any advice would be great.

OS X El Capitan 10.11 Node Version 4.2.2 Npm Version 3.4.1

Screen shots:

screen shot 2015-11-23 at 2 01 47 am

screen shot 2015-11-23 at 1 55 33 am

LittleHendrix commented 8 years ago

Same issue on Windows 7 x64 capture

Everything installed (and accessible via CMD) on system as follows: foundation-cli@2.0.0 bundler 1.10.6 sass 3.4.19 node v0.10.36 npm 1.4.28 ruby 2.1.7p400

dredgerman commented 8 years ago

Same in windows x64, installed all dependencies, foundation upgraded and followed instructions to letter in readme, makes software useless as can't even start a project!

[tom@server ~]$ foundation-apps new myapp bash: foundation-apps: command not found [tom@server ~]$

obonyojimmy commented 8 years ago

@dredgerman @LittleHendrix @jessepinuelas Try including an alias for ' foundation-apps ' to the bash(CLI) config ,Do a simple google search on how to !

etcook commented 8 years ago

@dredgerman @LittleHendrix @jessepinuelas

If you're on a mac, do this

cd /usr/local/bin
ln -s /usr/local/lib/node_modules/foundation-cli/bin/cli.js foundation-apps

Update the paths so they're appropriate for your system

dredgerman commented 8 years ago

Hi,

Thanks,

After tearing my hair out for a number of days am moving to meteor instead,

Appreciate the help,

On 26 November 2015 at 02:08, jimmycliff obonyo notifications@github.com wrote:

@dredgerman https://github.com/dredgerman @LittleHendrix https://github.com/LittleHendrix @jessepinuelas https://github.com/jessepinuelas Try including an alias for ' foundation-apps ' to the bash(CLI) config ,Do a simple google search on how to !

— Reply to this email directly or view it on GitHub https://github.com/zurb/foundation-apps/issues/718#issuecomment-159781867 .

myhusam commented 8 years ago

Hi guys,

I think you just need to type `foundation new' then you'll choose the one you need App, Site or Mail.

foundation-cli

jessepinuelas commented 8 years ago

@obonyojimmy @etcook creating the alias to foundation-apps did the trick.

ansorg commented 8 years ago

Ok, I get the menu. But arrow keys don't allow to select an option, they work on the underlying command line instead (bring up previously entered commands) This is on Windows 10

obonyojimmy commented 8 years ago

@ansorg you need to build you project before you see any changes on your app , did you do gulp in CLI ?

lanluu commented 8 years ago

I face the same problem like ansorg's one where I cannot select the second option "A web app" with arrow keys. It is on Windows 8. Do you guys have any tip for me?

lorenjerickson commented 8 years ago

Same arrow key problem here, windows 10. not a good first impression....

danielemanca1983 commented 8 years ago

I am having the same silly problem, I have the foundation cli installed globally, but when I try to run the command foundation-apps new, to create a new project, the command line tells me the command cannot be found, this is on Windows 10 too

Sfathy commented 7 years ago

the command changed to foundation not foundation-app

cmyk commented 7 years ago

Just installed node 6.11 and did a npm install --global foundation-cli. The foundation command is not found. This is on Sierra 10.12.5.