Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5bp init #34

Closed
iancrowther opened this issue Apr 28, 2012 · 6 comments
Closed

h5bp init #34

iancrowther opened this issue Apr 28, 2012 · 6 comments

Comments

@iancrowther
Copy link

Hi,

I have the following error when running "h5bp init"

node v0.6.15 via nvm (node version manager)

module.js:311
throw err;
^
Error: Cannot find module 'tar'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/Users/iancrowther/Code/nvm/v0.6.15/lib/node_modules/node-build-script/lib/utils/fetch.js:5:9)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)

I can init regular grunt projects, so I am a bit confused.

Thanks

Ian

@iancrowther
Copy link
Author

Ok, after going back to the grunt manual I tried

"h5bp init:jquery"

Worked a treat.

@mklabs
Copy link
Owner

mklabs commented Apr 28, 2012

Hi Ian,

Seems like there's a missing dependency in the master branch =/ I'll fix that right away, this is fixed in dev branch already. I'll merge the tar task (and the missing dep in package.json) to master on next push. Thanks for opening the issue! I completely missed that.

@mklabs mklabs reopened this Apr 28, 2012
@mklabs mklabs closed this as completed in be212ba Apr 28, 2012
@mklabs
Copy link
Owner

mklabs commented Apr 28, 2012

Merged and bumped version. Could you try to uninstall / reinstall ? This should be fixed now.

@iancrowther
Copy link
Author

Hi Mklabs,

uninstall / reinstall worked. "h5bp init" creates the project structure.

I must say, hats off! really impressed by this so far.

Ian

@mklabs
Copy link
Owner

mklabs commented Apr 29, 2012

Great! Glad to head it works great for you.

There's a lot of power and flexibility in grunt init tasks. I intend to add other templates and improve this one. If you have any idea or things you'd like to be implemented for the init task, please share!

Happy grunting :)

@iancrowther
Copy link
Author

Hi Mklabs,

Looking very feature rich so far. I am intending to to experiment with jasmine-node and cucumber-js. Ill have a go at writing some tasks etc and let you know how it goes. I need to experiment a bit more to get a real picture of what I can / cant do.

I applied to the google group "h5bp-dev" as I think this may be a better forum than the issues page. Let me know if there is a better location for feedback / communications etc.

Thanks

Ian

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

No branches or pull requests

2 participants