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
@nrwl/workspace:move fails on tsconfig.json with comments #13740
Comments
There's a specific move generator for Angular workspaces
Can you try that instead? https://nx.dev/packages/angular/generators/move |
@Coly010 unfortunately I see the same error looks like internally it uses nx/packages/angular/src/generators/move/move.ts Lines 1 to 25 in c3c9b2d
|
It does, but it does extra things required for angular, let me take a look |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
@nrwl/workspace:move
generator fails while trying to move around a lib in a newly created (via angular cli) project, since from the starttsconfig.json
has comments inside (I guess it affects all newcomers trying to use nx in their projects).Expected Behavior
should work with
tsconfig.json
which usesjson5
file format (comments).Github Repo
No response
Steps to Reproduce
ng new ng14-minimal --minimal --inline-style --inline-template --skip-tests --routing false --style=css
cd ng14-minimal
ng g library some-lib
cat tsconfig.json
npm i @nrwl/workspace -D
npx nx generate @nrwl/workspace:move libs --project-name=some-lib --verbose
Nx Report
Failure Logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: