Giter VIP home page Giter VIP logo

Comments (7)

brycekahle avatar brycekahle commented on May 20, 2024

@arekkas Can you contact support? They can help you solve your build problems.

from build-image.

aeneasr avatar aeneasr commented on May 20, 2024

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.

brycekahle avatar brycekahle commented on May 20, 2024

@arekkas That is curious. Can you provide more details to make sure that isn't a problem on our end?

from build-image.

aeneasr avatar aeneasr commented on May 20, 2024

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 the netlify.toml here.

I am seeing these issues in the PR build preview of new-site. Does that help?

from build-image.

brycekahle avatar brycekahle commented on May 20, 2024

@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.

aeneasr avatar aeneasr commented on May 20, 2024

Oh, removing base resolves the error! The error message is quite misleading, maybe this could be improved?

from build-image.

brycekahle avatar brycekahle commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.