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
Create a simple NX repo
Add o3r/core to the repo
Add an Nx Angular Library for service
Try creating a service in the newly created library using command
…tion (#1782)
## Proposed change
Change path resolver from path.resolve to path.join as the tree.exists
is unable to resolve the absolute path generated by path.resolve
## Related issues
- 🐛 Fixes#1778
Package name
core
Package version
10.2.4
Reproduction steps
Create a simple NX repo
Add o3r/core to the repo
Add an Nx Angular Library for service
Try creating a service in the newly created library using command
"nx generate @o3r/core:service"
Current result
After accepting the inputs, the process hanges
Expected result
Service should be created
Additional comments
Did a bit of digging around in the schematics.
It never exits out of the while loop in Index.ts Line 49
"tree.exists" isnt working correctly. The third path in the below screenshot exists, but the "tree exists check" is saying false.
also path.resolve(destination, rec) !== '/' doesnt work in windows as it ends up returning directory like "C:"
Issue appears to be command path.resolve
The text was updated successfully, but these errors were encountered: