Comments (7)
@arekkas Can you contact support? They can help you solve your build problems.
from build-image.
Ok! By the way, I was able to resolve it - seems that build images don't get booted when master branch doesn't use a build pipeline. In my case, I was using a branch and introduced a build pipeline to it.
from build-image.
@arekkas That is curious. Can you provide more details to make sure that isn't a problem on our end?
from build-image.
Hm, I'm not entirely sure. I have a netlify.toml
file in the project root:
[build]
base = "public"
publish = "public"
command = "yarn build"
With that file, the build fails. If I remove the file and set those settings in the Netlify UI then the build succeeds. If I remove those settings from the Netlify UI then the build succeeds as well, but is obviously not built.
I have two branches:
master
: Does not use build process (just some static html files)new-site
: Uses gatsby/node to build the website. I added thenetlify.toml
here.
I am seeing these issues in the PR build preview of new-site
. Does that help?
from build-image.
@arekkas Are you sure you want the base
to be public
? Normally public
is an output directory, and not where you want to issue build commands.
from build-image.
Oh, removing base resolves the error! The error message is quite misleading, maybe this could be improved?
from build-image.
We can look into it, but at that point it is in a bash script so it isn't trivial.
from build-image.
Related Issues (20)
- Customizable Java version HOT 2
- Latest NPM versions throw an error when workspaces are configured HOT 1
- Missing workdir "/opt/build" in build container.
- Change the way how the elm compiler is installed as it is not compatible with arm64 HOT 2
- Why is the Hugo version out of date so much?
- Add Haldo linting to build image dockerfile HOT 1
- Run the docker image size inside CircleCI instead of github actions
- Container-structure-tests fail for arm64 HOT 2
- Create multiarch images and push them to the dockerhub HOT 5
- Cache Playwright browser dependencies HOT 3
- `target` directory for Rust is not stored
- Local build test fails with podman HOT 1
- Builds fail when using `[email protected]` HOT 5
- Same codebase stopped compiling in version 4.13 HOT 4
- Monorepo project cannot found pnpm HOT 2
- Failed to debug netlify locally HOT 1
- Add Support for .NET 7 HOT 6
- `NETLIFY_USE_PNPM: true` environment var not working after v4.15.0 HOT 1
- Show an understandable error when `getBuildInfo` failed
- Not respecting pnpm version specified in packageManager field of package.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-image.