You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.
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.
@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 ?
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.
@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;
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
The text was updated successfully, but these errors were encountered: