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.

Stencil: Error with Stencil 2.17.2 and higher

See original GitHub issue

Describe the bug Build fails with an error since 2.17.2 and higher

To Reproduce Use Stencil higher than 2.17.1

Expected behavior Should work

Additional context Error:

npx nx build app

> nx run app:build


[ WARN  ]  exit 1

/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:41835
    results.fileNames = results.fileNames.filter((f) => {
                                ^

TypeError: Cannot read properties of undefined (reading 'fileNames')
    at Object.t.getParsedCommandLineOfConfigFile (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:41835:33)
    at pe (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:8913:2294592)
    at Object.e.createWatchProgram (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:8913:2287601)
    at createTsBuildProgram (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:63447:12)
    at /private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:63481:5
    at new Promise (<anonymous>)
    at createFullBuild (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:63457:10)
    at Object.build (/private/tmp/devkit-test-latest/node_modules/@stencil/core/compiler/stencil.js:64730:23)
    at taskBuild (/private/tmp/devkit-test-latest/node_modules/@stencil/core/cli/index.cjs:1671:40)
    at async runTask (/private/tmp/devkit-test-latest/node_modules/@stencil/core/cli/index.cjs:2327:13)

 β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

 >  NX   Ran target build for project app (748ms)

    βœ–    1/1 failed
    βœ”    0/1 succeeded [0 read from cache]

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
DominikPiepercommented, Aug 15, 2022

@rwaskiewicz thanks. I follow the issue with that in the stencil project as well 😁 after that’s released I’ll remove the temporary version pin and add the latest version by default

0reactions
visma-zanas-stundyscommented, Dec 7, 2022

I think we can close this – works fine after stencil 2.17.4 release

Read more comments on GitHub >

github_iconTop Results From Across the Web

stencil/CHANGELOG.md at main Β· ionic-team/stencil - GitHub
A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can beΒ ...
Read more >
Troubleshooting Your Setup | BigCommerce Dev Center
If you get an unexpected error message or unexpected results upon executing the stencil init , stencil start , or other Stencil CLI...
Read more >
@stencil/core - npm
A Compiler for Web Components and Progressive Web Apps. Latest version: 2.20.0, last published: 9 days ago. Start using @stencil/core inΒ ...
Read more >
Web component developed using stencil not working in IE11
One of the breaking changes in Stencil 2.0 was that support for Internet Explorer 11 is disabled by default, it's now opt-in.
Read more >
A Cartesian Cut-Stencil Method for the Finite Difference Solution
2.6.5 Higher-Order Cut-Stencil Finite Difference Method for Boundaries ... 3.5.4 Problem 4: Solution of Convection-Diffusion Equation onΒ ...
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