[now-dev] "Invalid `builds` property" when property not set
See original GitHub issueI get the following error when running now dev
in a directory where there’s a build/
directory alongside the now.json
file :
> Error! Invalid `builds` property: should NOT have more than 128 items
I don’t have any builds
property defined in my now.json
:
{
"version": 2,
"name": "my-website",
"routes": [
{ "src": "/catalogue",
"dest": "index.html" },
{ "src": "/contactez-nous",
"dest": "index.html" },
{ "src": "/qui-sommes-nous",
"dest": "index.html" }
]
}
But the build/
directory indeed contains more than 128 files, and now dev
is confusing it with a builds
property.
Unfortunately I can’t change the name of this directory because it’s automatically generated by Stencil.js.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[now-dev] "Invalid builds property" when property not set #3159
I get the following error when running now dev in a directory where there's a build/ directory alongside the now.json file : >...
Read more >Spring Boot - Detect and terminate if property not set?
So try it first without this method (and without implements InitializingBean) */ public void afterPropertiesSet() { if (this.
Read more >MSBuild Reserved and Well-known Properties - Microsoft Learn
Property Reserved or well‑known Description
FrameworkSDKRoot Well‑known Path to the root folder for .NET Framewor...
MSBuildExtensionsPath Well‑known
MSBuildLastTaskResult Reserved
Read more >Stop Using .env Files Now! - DEV Community
I'm not saying .env file don't have a purpose. They can be used for local or development-oriented environments.
Read more >Property (Gradle API 7.6)
Sets the property to have the same value as the given provider, replacing whatever value the property already had. void, set(T value).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in #3167, Thanks for the bug report!
This will be available in the canary channel and make its way to the stable channel soon.
Hi @vincentriemer
Can you create a new issue with the steps to reproduce?
What’s in now.json? What dependencies do you have in package.json? etc
Thanks!