question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[now-dev] "Invalid `builds` property" when property not set

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
styflecommented, Oct 17, 2019

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.

0reactions
styflecommented, Jan 24, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found