-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: results.fileNames undefined during compilation in stencil 2.17.3 in NX #3510
Comments
Hey @orl99 👋 The value stored in I think this could be related to attempting to resolve a TS configuration file, which may make sense if the file is in a monorepo. I think that Stencil can handle this a little more gracefully, but in order to continue debugging this further, can you create a minimal reproduction case for us to investigate further? |
Thanks for the issue! This issue has been labeled as Please reproduce this issue in an Stencil starter component library and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue. For a guide on how to create a good reproduction, see our Contributing Guide. |
Thanks for this thread, I have the same problem. I just want to link the related issue in the @nxext/stencil repo: nxext/nx-extensions#771 |
Steps to reproduce: yarn create nx-workspace
yarn add --dev @nxext/stencil yarn nx generate @nxext/stencil:application sample --no-interactive yarn nx run sample:build -> Working build yarn add --dev @stencil/[email protected] yarn nx run sample:build -> Failing Build |
only way to fix as of now is to pin stencil/core at 2.17.1 , as 2.17.2 onwards it starts giving this error |
Thanks all, y'all are awesome! I've confirmed this is a bug, and relates to how the NX plugin calls Stencil's APIs. I've ID'ed the commit in the Stencil repo that causes this, and am going to have someone take a look at this early next week |
The PR that fixes this issue (#3518) is a part of today's v2.17.4 release. As a result, I'm going to close this issue. Should the issue reoccur on v2.17.4+ of Stencil, please open a new ticket, thanks! |
Prerequisites
Stencil Version
2.17.3
Current Behavior
Currently, I we are having problems compiling one library that we recently created with a few components for a future DS that we plan to make, this is currently the CLI out when we run
nx run aqua-elements:build
It's important to mention that we use NX as monorepo.
Any reasons why we are having this problem?
Is anyone also having the same problem?
Expected Behavior
Have a successful compilation process
Steps to Reproduce
1-
npm i
2-
nx run aqua-elements:build
Code Reproduction URL
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered: