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

The new update is broken #42

Closed
wmena opened this issue Oct 31, 2013 · 6 comments
Closed

The new update is broken #42

wmena opened this issue Oct 31, 2013 · 6 comments

Comments

@wmena
Copy link

wmena commented Oct 31, 2013

is not unzipping the wordpress file and the _s theme

@dabernathy89
Copy link

same issue with the plugin - this.tarball() doesn't seem to be working. i'm guessing it's an issue with yo, and not the generator.

Mac OS X 10.9 (mavericks), yo 1.0.4, node 0.10.21

Daniels-MacBook-Air:test danielabernathy$ yo yo-wordpress:plugin
[?] Name of the plugin: Some Plugin
[?] Author Name: Daniel

 info ... Fetching https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/tarball/master ...
 info This might take a few moments
..............................✔ Done in app/wp-content/plugins


/usr/local/lib/node_modules/generator-yo-wordpress/plugin/index.js:69
    if (err) throw err
                   ^
Error: ENOENT, open 'app/wp-content/plugins/SomePlugin/SomePlugin.php'

@romainberger
Copy link
Owner

@dabernathy89 I don't think this error is related. Yours is caused by a file that is not found.

@dabernathy89
Copy link

@romainberger It's not finding the file because the tarball wasn't extracted. right now the only file in the 'plugins' directory is 'master' (no file extension)

@romainberger
Copy link
Owner

Ah yeah ok. Although if the tarball method would fail it should throw an error? Anyway I'll take a look asap.

Edit: the lack of extension is weird though

@jaspervalero
Copy link

+1 I'm having the same issue on OS X 10.9 Mavericks, yo 1.0.4, node 0.10.21.

image

romainberger added a commit that referenced this issue Nov 6, 2013
@rezzafr33
Copy link
Contributor

i think we should change the tarballLink to something like this https://github.com/yeoman/generator/archive/master.tar.gz , instead of https://github.com/yeoman/generator/tarball/master

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

5 participants