You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a target which uses the nx:run-commands executor, results in this error:
The nodes created from packages/my-library/project.json by the "nx/core/project-json" could not be merged into the project graph:
TypeError: Cannot read properties of undefined (reading 'join')
at isCompatibleTarget (\node_modules\nx\src\project-graph\utils\project-configuration-utils.js:461:67)
at mergeTargetConfigurations (\node_modules\nx\src\project-graph\utils\project-configuration-utils.js:398:26)
at mergeProjectConfigurationIntoRootMap (\node_modules\nx\src\project-graph\utils\project-configuration-utils.js:132:34)
Note: This was introduced in 18.3.4 as it was not present in 18.3.3.
The workaround for this seems to be to remove any default configuration from nx.json and in-line it everywhere that the executor is used. But there shouldn't have been a breaking change like this in a patch version.
Hey 👋, this wasn't meant to be a breaking change, rather there was a separate bug that the fix for caused this. Itll get resolved in next patch. Apologies for any turbulence.
Hey thanks for the reply. I saw the bug fix which seemed like it caused this. But I wasn't sure what the expected behavior was. There was a chance that it was always broken and the 18.3.4 behavior was actually what was always intended.
It's good to hear that it will be fixed and kept the way it was before!
Current Behavior
Running a target which uses the
nx:run-commands
executor, results in this error:Note: This was introduced in 18.3.4 as it was not present in 18.3.3.
The config setup required is:
nx.json
project.json
Expected Behavior
The command which was working in 18.3.3 should still work without any changes necessary.
GitHub Repo
No response
Steps to Reproduce
nx run
)Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: