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

Improper functionality and documentation.

Open adaminfinitum opened this issue 8 years ago • 0 comments

I just updated from Foundation 4 to Foundation 6 and followed the documentation provided.

I'm on a Mac running NPM version 3.7.3 and Node version 7.6.0

I use Bash as my shell but have updated it to the latest version (via Homebrew).

I have used/installed Foundation 6 previously for a WordPress theme I was working on but I had not installed it globally.

Before updating I ran $ foundation -v and got Could not find command "_v".

So then I tried foundation version and got v1.0.4

Then I ran $ npm install -g foundation-cli which seemed to work but $ foundation -v returned Could not find command "_v". and $ foundation version returned v1.0.4

Then I tried $ npm install --global foundation-cli and that seemed to work, the final result indicated it had updated to [email protected]

$ foundation -v again returned Could not find command "_v".

I ignored that and tried foundation help new (all your docs say is to run foundation new to start a new project) which returns:

Usage:
  foundation new

Options:
  [--libsass], [--no-libsass]  
  [--version=VERSION]          

create new project

I figured a project name would be needed but I followed the docs.

So I ran $ foundation new and got:

ERROR: "foundation new" was called with no arguments
Usage: "foundation new"

From what I remember, to create a new project, I'd guess I need to run $ foundation new myproject --libsass (or whatever the option I desire is) but at this point, I'm just guessing.

adaminfinitum avatar Mar 26 '17 03:03 adaminfinitum