Open ThePlenkov opened 1 week ago
BTW I managed to find the reason - I have created a root level tsconfig.json
with following content:
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"experimentalDecorators": true
}
}
So it was pointing to not existing config and one of plugins was generating the exception error TS5083: Cannot read file '/tsconfig.base.json'.
which has no stack, just symbol:
But it doesn't deny the fact that such errors must be properly handled by the framework
Current Behavior
I try to build my package and get the error like this:
with verbose it looks like this:
Expected Behavior
I expect to see the real reason why my script has failed, but currently it fails just handling another errors
GitHub Repo
No response
Steps to Reproduce
I do not know how to reproduce, but there can be a chance when we have not an error, but an empty object in the following code contruction:
The error later happens in this code: https://github.com/nrwl/nx/blob/3cbe2abc25c3b3763b4def6d9a84b299b571f7c5/packages/nx/src/project-graph/utils/project-configuration-utils.ts#L374
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response