Closed adnansmajlovic closed 4 years ago
Hmm, that could be the end of this project. Did you find any way around it?
Even though I'm using vercel.json I get this warning (and the deploy works)
Due to `builds` existing in your `now.json` file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-project-settings
still working for me too. builds has been deprecated for a while.
Hm... Doesn't work for me, however it worked when I used "now" instead of "vercel", and it worked with "vercel" on an older project. Also, haven't found a work around yet.
This is what I get with v 19.0.1:
$ vercel
Vercel CLI 19.0.1
Error! The property `builds` is not allowed in vercel.json – please remove it.
vercel.json:
{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "now-sapper"
}
],
"env": {
"SECRET": "@my-secret-name"
},
"functions": {
"api/test.js": {
"memory": 1024,
"maxDuration": 10
}
}
}
(edit) Reported it to Vercel team, and waiting for a response
Looks like you can't mix builds
and functions
.
Yes, thank you Thomas. That was an issue!
WARN! Due to builds
existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
I got this problem to how should i fix it
@Ashique20 I'm assuming that this isn't a new project, what changed between when it worked and now?
Can we have chat on google meet?
শনি, ৪ মার্চ, ২০২৩ তারিখে ৩:০৩ AM টায় তারিখে Antony Jones < @.***> লিখেছেন:
@Ashique20 https://github.com/Ashique20 I'm assuming that this isn't a new project, what changed between when it worked and now?
— Reply to this email directly, view it on GitHub https://github.com/thgh/vercel-sapper/issues/35#issuecomment-1454126560, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDGIS2G4U7RNKHG4BGYTPLW2JMDPANCNFSM4NO3AMBA . You are receiving this because you were mentioned.Message ID: @.***>
Man i really need to solve it and i am totally helpless
শনি, ৪ মার্চ, ২০২৩ তারিখে ১০:৫১ PM টায় তারিখে Ashiqur Rahman Student < @.***> লিখেছেন:
Can we have chat on google meet?
শনি, ৪ মার্চ, ২০২৩ তারিখে ৩:০৩ AM টায় তারিখে Antony Jones < @.***> লিখেছেন:
@Ashique20 https://github.com/Ashique20 I'm assuming that this isn't a new project, what changed between when it worked and now?
— Reply to this email directly, view it on GitHub https://github.com/thgh/vercel-sapper/issues/35#issuecomment-1454126560, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDGIS2G4U7RNKHG4BGYTPLW2JMDPANCNFSM4NO3AMBA . You are receiving this because you were mentioned.Message ID: @.***>
Not sure if they added this just recently, but bulds property can't be part of the vercel.json:
https://vercel.com/docs/configuration?query=builds#project/builds
NOTE: The builds property has been deprecated in favor of functions. In the majority of cases, you are no longer required to specify a build, instead relying on the build step.