-
-
Notifications
You must be signed in to change notification settings - Fork 161
Custom theme folder is blank #187
Comments
Anybody any info on this? I've read all the docs, searched other issues etc but no luck. |
Sorry I am not much help. Did you try running with |
Hi @sic-craig I see that this issue was from 3 days ago but 2 days ago you corrected a syntax error in your package.json file: sic-craig/sic-theme@18852f0. Was that the issue? Is it working now? |
Hi @wesleytodd @brmullikin thanks for the responses. -v doesn't seem to do anything, --verbose gave the following output: Options: {
| | | || || _ | | | | | _ | || | | || | | |
All Done!!I tried my best to set things up, but I'm only human right? wink wink
|
@sic-craig I can't reproduce your issue. Are you getting the same error for, say, https://github.com/roots/sage/tree/8.5.0 (github user: roots, repo: age, branch: 8.5.0)? |
@brmullikin very sorry for the delay on my part, have been totally consumed by another project. In answer to your question, no I don't get the same error. If I run npm install from my custom theme directory, the package.json is used as normal though. |
Interestingly @brmullikin @wesleytodd , if I replace the contents of my package.json with the roots/sage package.json, yeopress still states it is missing. |
@brmullikin @wesleytodd are there any other requirements of a custom theme in order for Yeopress to be able to install it. As I said, the sage theme installs fine, but even with their package.json mine doesn't - still complaining that the file is missing. Yet if I run npm install within my directory, npm successfully installs the packages. Why does the theme not install without a package.json? Let's say it actually wasn't there - would you expect the installation to fail? Or is it a requirement to have a package.json file? I'd really like to get Yeopress into our company workflow! |
@sic-craig I'm still unable to reproduce your issue on my end. When I select your theme it installs fine. I've tried it on two different machines. Not really sure how to help you troubleshoot further. What version of Node, NPM, Yo, and YeoPress are you using? |
Everything runs smoothly until 'Setting up theme'.
I then get 'package.json' missing, though there is a package.json file in the repo I'm pulling from.
WP is installed now problem, but the folder I created for my theme is blank other than a 'master.tar.gz' file - which won't unzip. here's my terminal window.
Feel free to look at the package.json or anything else in the theme - https://github.com/sic-craig/sic-theme
The text was updated successfully, but these errors were encountered: