We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ref: #2840 (comment) cc: @juristr
The --importPath option works great and we were able to remove our custom impl from our schematics.
--importPath
@nrwl/workspace:move however still errors with Cannot read property 'map' of undefined when run on a module that was generated using that flag.
@nrwl/workspace:move
Cannot read property 'map' of undefined
Our custom schematic temporarily updates the tsconfig to the directory path before moving, then reverts it:
export default function (schema: Schema): Rule { return chain([ revertPathInTsConfig(schema), moveWorkspace(schema), updateRootTsConfig(schema), ]); }
The workspce:move and workspace:delete schematics should work on libraries created using the --importPath flag.
workspce:move
workspace:delete
@nrwl/workspace:[move|delete]
> NX Report complete - copy this into the issue template @nrwl/angular : Not Found @nrwl/cli : 10.0.1 @nrwl/cypress : 10.0.1 @nrwl/eslint-plugin-nx : 10.0.1 @nrwl/express : Not Found @nrwl/jest : 10.0.1 @nrwl/linter : 10.0.1 @nrwl/nest : Not Found @nrwl/next : 10.0.1 @nrwl/node : 10.0.1 @nrwl/react : 10.0.1 @nrwl/schematics : Not Found @nrwl/tao : 10.0.1 @nrwl/web : 10.0.1 @nrwl/workspace : 10.0.1 typescript : 3.9.7
The text was updated successfully, but these errors were encountered:
fix(misc): updates the mv schematic to cope with libs created with --…
001b6ee
…importPath ISSUES CLOSED: #3476
598552a
…importPath ISSUES CLOSED: nrwl#3476
72445d9
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.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Current Behavior
Ref: #2840 (comment)
cc: @juristr
The
--importPath
option works great and we were able to remove our custom impl from our schematics.@nrwl/workspace:move
however still errors withCannot read property 'map' of undefined
when run on a module that was generated using that flag.Our custom schematic temporarily updates the tsconfig to the directory path before moving, then reverts it:
Expected Behavior
The
workspce:move
andworkspace:delete
schematics should work on libraries created using the--importPath
flag.Steps to Reproduce
--importPath
@nrwl/workspace:[move|delete]
schematic.Failure Logs
Environment
The text was updated successfully, but these errors were encountered: