foundation-apps icon indicating copy to clipboard operation
foundation-apps copied to clipboard

command not found: foundation-apps

Open jessepinuelas opened this issue 11 years ago • 14 comments

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

jessepinuelas avatar Nov 23 '15 10:11 jessepinuelas

Same issue on Windows 7 x64 capture

Everything installed (and accessible via CMD) on system as follows: [email protected] bundler 1.10.6 sass 3.4.19 node v0.10.36 npm 1.4.28 ruby 2.1.7p400

LittleHendrix avatar Nov 23 '15 16:11 LittleHendrix

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 ~]$

dredgerman avatar Nov 24 '15 14:11 dredgerman

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

obonyojimmy avatar Nov 26 '15 02:11 obonyojimmy

@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

etcook avatar Nov 26 '15 02:11 etcook

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 [email protected] 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 .

dredgerman avatar Nov 26 '15 07:11 dredgerman

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

myhusam avatar Nov 26 '15 09:11 myhusam

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

jessepinuelas avatar Nov 26 '15 18:11 jessepinuelas

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

ansorg avatar Dec 09 '15 08:12 ansorg

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

obonyojimmy avatar Dec 10 '15 22:12 obonyojimmy

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?

lanluu avatar Jan 13 '16 09:01 lanluu

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

lorenjerickson avatar Jan 25 '16 02:01 lorenjerickson

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

danielemanca1983 avatar Apr 03 '16 17:04 danielemanca1983

the command changed to foundation not foundation-app

Sfathy avatar Nov 11 '16 07:11 Sfathy

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.

cmyk avatar Jul 11 '17 10:07 cmyk