Skip to content
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

Schematics: rename to a non-existing dir fails on sync to disk #16484

Closed
Brocco opened this issue Dec 20, 2019 · 1 comment
Closed

Schematics: rename to a non-existing dir fails on sync to disk #16484

Brocco opened this issue Dec 20, 2019 · 1 comment
Labels
area: @angular-devkit/schematics freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Milestone

Comments

@Brocco
Copy link
Contributor

Brocco commented Dec 20, 2019

🐞 Bug report

Command (mark with an x)

Schematics core

Is this a regression?

No

Description

When using tree.rename where the destination is a directory that does not exist succeeds using dry-run (and testing) but fails when actually syncing to disk

🔬 Minimal Reproduction

I created a repo with the reproduction here

🔥 Exception or Error


no such file or directory

This error is stating that the directory you're attempting to write to does not exist.

🌍 Your Environment

important version: @angular-devkit/schematics v8.3.20

Anything else relevant?
The important piece is that it appears to work just fine in memory, the error occurs when trying to synchronize from the virtual file system to the actual file system.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/schematics freq1: low Only reported by a handful of users who observe it rarely severity3: broken type: bug/fix
Projects
None yet
Development

No branches or pull requests

2 participants