-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Bug]: Builds not working on CircleCI #28
Comments
@g-elwell I've checked out your repo and branch with the build-tools update. Managed to debug this on CI and have pushed an additional change to the previously mentioned branch. I'm hoping this works without any further issue but I've not have chance to test as thoroughly as I'd like. I'll be tidying up that PR as there's logic around this that - even though it works now - I've over complicated. I'll let you know as soon as I'm done. |
@ampersarnie thanks for looking into this and also for checking out my repo. It looks like there are actually two related issues in play:
Your fix seems to have solved the first problem, which means the repo you inspected is now building correctly as it's now running in full-site mode. In another project that should run in single-project mode, the build is still failing:
|
@ampersarnie unfortunately that fix doesn't seem to have solved the issue for me, I'm still getting the same error in CI when attempting to build this branch. Unless there's something I'm doing wrong? |
@g-elwell You need to rebuild your |
Fantastic, thanks. I thought I did that tbf but clearly missed something. |
@g-elwell Closing this issue for now as we've got that fix in the works that covers this. But feel free to re-open or comment further if anything else around this issue comes up. |
What happened?
I have the following commands added to my package.json:
Both work as expected locally, but the CLI seems to be having issues locating projects in a CI environment.
wp-content
in site-wide mode, once pushed to CI, the build-tools will default to single-project mode - log--site
flag doesn't seem to have any impact on this behaviour - logNote that
bbv3
is the project name in the rootpackage.json
, which is what is being picked up in the first 2 instances,bigbitev3
is the project name of the theme I'm trying to build.On another project (a plugin), I'm using the build tools in single-project mode with the same commands as above. Again, all works fine locally but once pushed to CI the build will fail - log
Which environments are you experiencing the issue on?
CI (CircleCI, Travis, etc)
Relevant log output
The text was updated successfully, but these errors were encountered: