Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Styledocco dependency #235

Open
ryanholder opened this issue May 30, 2014 · 3 comments
Open

Styledocco dependency #235

ryanholder opened this issue May 30, 2014 · 3 comments
Labels

Comments

@ryanholder
Copy link
Contributor

@GaryJones, btw this is very cool http://docs.garyjones.co.uk/fortytwo/style.html

When running grunt build it fails on styledocco with the following;

Running "styledocco:dist" (styledocco) task
>> Error: Error: not found: styledocco
>> Code: 127
>> Error: Error: not found: styledocco
>> Code: 127

I can see from https://www.npmjs.org/package/grunt-styledocco that we need to install StyleDocco first. Is this something that we will make part of the install docs.

Assuming npm is already installed, are the following steps all that we require ?

npm install -g bower
npm install -g styledocco

grunt dependencies

@remkus
Copy link
Owner

remkus commented May 30, 2014

I would assume Styledocco, since it's referrenced in the package.json file, would automatically be installed upon npm install .. no?

On 30 mei 2014, at 14:06, Ryan Holder [email protected] wrote:

@GaryJones, btw this is very cool http://docs.garyjones.co.uk/fortytwo/style.html

When running grunt build it fails on styledocco with the following;

Running "styledocco:dist" (styledocco) task

Error: Error: not found: styledocco
Code: 127
Error: Error: not found: styledocco
Code: 127
I can see from https://www.npmjs.org/package/grunt-styledocco that we need to install StyleDocco first. Is this something that we will make part of the install docs.

Assuming npm is already installed, are the following steps all that we require ?

npm install -g bower
npm install -g styledocco

grunt dependencies


Reply to this email directly or view it on GitHub.

@ryanholder
Copy link
Contributor Author

@deFries what is referenced in the package.json is a grunt-styledocco which makes use of StyleDocco, however it has not been added as a dependency of grunt-styledocco. I therefore think it would need to be installed.

Upon further inspection I dont think the need to install bower is required anymore. I see the grunt-bower-task has bower as a dependency. @GaryJones would be able to confirm this ?

@GaryJones
Copy link
Contributor

Some grunt packages are wrappers for (i.e. come with) the packages they enable access to (i.e. grunt-wp-i18n includes the i18n WP code like makepot.php); styledocco is not one of them (same as phplint task doesn't come with PHP - it just invokes php -l on the command line), so yes, you will need to install styledocco separately.

Equally, grunt-bower-task doesn't include bower, so you'll need to install bower separately too.

One of the ideals not yet done is to create a task that will install all of these extra dependencies, so one could simply grunt init and have everything setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants