Skip to content

ng new <appname> ... fails when not performed on c:\ drive #12845

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

Closed
Coderrob opened this issue Nov 2, 2018 · 2 comments
Closed

ng new <appname> ... fails when not performed on c:\ drive #12845

Coderrob opened this issue Nov 2, 2018 · 2 comments

Comments

@Coderrob
Copy link

Coderrob commented Nov 2, 2018

Bug Report or Feature Request

- [x] bug report

Command

- [x] new

Versions

node v10.7.0
npm v6.1.0
ng v7.0.4
Windows 10

Repro steps

  1. Open command prompt
  2. Change the disk to a drive other than c:\
    • e: for example
  3. Enter ng new some-app
  4. Enter Y to add Angular routing
  5. Scroll down to SCSS and hit Enter

Output:

ng-new

Mention any other details that might be useful

I have run through and uninstalled global angular/cli also verified cache afterwards. I installed it again even using @latest. I've installed 10.x and 8.x Node/NPM versions switching back and forth with nvm to no avail.

It seems that the Angular app will be created just fine on a C:\ but not any other disk. I verified permissions were correct, ran everything as administrator, and could not come up with any reasons why it would fail.

One interesting thing to note is when I ran the ng new <appname> on a non-c drive an empty folder named as the drive letter was created at the same directory level. I've reproduced it several times. Otherwise I've only been able to get the ng new to work on the C:\.

Drive letter folder created:

drive-letter

Working on C:\:

ng-new-on-c

@alan-agius4
Copy link
Collaborator

Duplicate of #12670

@alan-agius4 alan-agius4 marked this as a duplicate of #12670 Nov 2, 2018
@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 Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants