Coder Social home page Coder Social logo

Error on deploy about bref HOT 5 CLOSED

brefphp avatar brefphp commented on June 23, 2024
Error on deploy

from bref.

Comments (5)

gregmsanderson avatar gregmsanderson commented on June 23, 2024

Yes, it does seem to be an issue with the underlying system used to deploy. Annoyingly nobody seems to have found a fix. Someone reported it with serverless but got no response: https://forum.serverless.com/t/cant-deploy-s3-complains-of-invalid-xml/3384

from bref.

gregmsanderson avatar gregmsanderson commented on June 23, 2024

Interestingly I edited the serverless.yml file created by init to include some more details. And then the deploy works.

So I'm thinking one of these may be causing it given that was the only file I just changed, and it now works. Unless it is some random fault with the underlying SDK used to upload to S3, however that seems less likely.

So I'd suggest an enhancement: as part of init, specify details like the region too. This is what I have and the deploy is (currently) working:

edited-serverless-yml

Not entirely sure how much of these bref uses. Or whether - since it uses serverless behind-the-scenes - it can use the same ones serverless does.

from bref.

mnapoli avatar mnapoli commented on June 23, 2024

I'm not sure I understand if the problem is with Bref here. If you start a new project, do bref init and bref deploy (without changing serverless.yml) does that work?

from bref.

gregmsanderson avatar gregmsanderson commented on June 23, 2024

It seems to be a problem with serverless ... but (maybe) caused by the yml (and the yml is created by bref). I wasn't able to recreate it and the guy on the serverless forum did not get a response either. It may be entirely unrelated to the yml - I just noticed that after I started getting that error on deploy, I defined more values in the yml (the one created by init didn't include them) as part of randomly trying stuff to fix it ... and then the deploy worked. Weird! Can probably close.

from bref.

mnapoli avatar mnapoli commented on June 23, 2024

OK let's reopen if we have more info. Thanks!

from bref.

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.