0dp / generator-wp-bones Goto Github PK
View Code? Open in Web Editor NEWYeoman generator to quickly install Bones Wordpress starter theme into your Wordpress theme folder
License: Other
Yeoman generator to quickly install Bones Wordpress starter theme into your Wordpress theme folder
License: Other
I had an old wp-bones project that wasn't running grunt at all so I decided to reinstall everything with npm, which didn't work, so I updated the package.json and tried again. Install went fine but when I went to run grunt default
(previously I used grunt watch
), I get Task "jshint" not found
. I looked at the package.json and there is no jshint in there, unless it is part of some other package, so is it in fact missing or what??
I installed your pacakage using yo and got this message
I'm all done. Running bower install & npm install for you to install the require
d dependencies. If this fails, try running the command yourself.
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No README data
npm WARN engine [email protected]: wanted: {"node":"0.10.x"} (current: {"node":"
0.12.2","npm":"2.7.4"})
bower ENOENT No bower.json present
Loading "sass.js" tasks...ERRORError:
c:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grunt\ node_modules\grunt-sass\node_modules\node-sass\bin\win32-ia32-v8-3.28\binding.no de
is missing. Try reinstallingnode-sass
?
Were you suppose to install a bower.json? or was I?
hello,
I install and use this generator and i have a couple of questions:
thanks
PD: sorry i'm not native
I'm planning to add two questions to the generator
And if answer is not: delete unneeded files and references in functions.php
what do you think?
The grunt task sass:editorstyles gives an error.
Running "sass:editorstyles" (sass) task
Source file "../scss/wp-editor-style.scss" not found.
Can't see the file in the bones repository.
.
I installed your package using yo and got this message
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (E:\SERVER\nodejs\node_modules\npm\node_modul
es\node-gyp\lib\configure.js:103:14)
gyp ERR! stack at E:\SERVER\nodejs\node_modules\npm\node_modules\node-gyp\li
b\configure.js:64:11
gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.:95:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "E:\SERVER\nodejs\node_modules\npm\node_modules\no
de-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grun
t\node_modules\grunt-sass\node_modules\node-sass
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "E:\SERVER\nodejs\node.exe" "E:\SERVER\nodejs\node_modules
\npm\bin\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! c:\Users\ME\git\globatech\wp-content\themes\globa-tech\library\grun
t\npm-debug.log
bower ENOENT No bower.json present
Local Npm module "grunt-sass" not found. Is it installed?
after publishing to npm, when I ran wp-bones I received these errors
EACCES, mkdir '/usr/lib/node_modules/generator-wp-bones/app/templates/theme'
Error: EACCES, mkdir '/usr/lib/node_modules/generator-wp-bones/app/templates/them
I'm going to bed now but we can look at it tomorrow
After fresh install I get this:
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm WARN engine [email protected]: wanted: {"node":"0.10.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
bower ENOENT No bower.json present
Tried using node 0.10.40, and I get same error.
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
When running yo wp-themes from within wp themes dir, npm throws a series of errors because the package.json file is not to be found. The file is situated in /library/grunt/ and not wp-content/themes/package.json
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/srv/http/edra/wp-content/themes/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! System Linux 3.14.1-1-ARCH
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /srv/http/edra/wp-content/themes
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path /srv/http/edra/wp-content/themes/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /srv/http/edra/wp-content/themes/npm-debug.log
npm ERR! not ok code 0
[odp@odp themes]$
First off - this generator is great, I was able to follow the basic instructions to get started. Everything appears to have installed without a hitch.
However - this might be painfully obvious, but with my previous workflow using codekit, i'd drop my project into code kit - and it would monitor my SASS changes and compile on save. Is there a way i can set this now that Grunt is running? When i run "Grunt Sass" in my folder, it says it can't find an installed version - is this the case?
Thanks for the help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.