[FIXED] Creating projects with Angluar CLI 1.7.x and 6.x fail

This topic contains 0 replies, has 1 voice, and was last updated by  Brian Fernandes 6 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #559010

    Brian Fernandes
    Moderator

    Update, March 12: A fix for this problem is now available 2017 CI 11a


    Update, March 2: A fix for this problem is now available in our pre-release stream, and will likely be released to the regular stream next week. Please see this link for details on how to get the pre-release.


    When you create a new Angular project with either the 1.7.x or 6.x series of CLIs, the project creation will fail with the following error:

    Errors:
    .directory should match format “path”

    This is due to a change in the Angular CLI, being tracked here: https://github.com/angular/angular-cli/issues/9655

    Our team is working on releasing a fix for this issue; in the meanwhile, the possible workarounds are:

    1) Create your projects with the 1.6.x series of CLIs.

    2) If you really must use this version of the CLI, create the project manually with the CLI and then import the project into your IDE using File > Import > Angular Project.


    npm install -g @angular/cli@1.7.1
    ng new appnamehere

    • This topic was modified 6 months, 3 weeks ago by  Brian Fernandes. Reason: Added fix in pre-release
Viewing 1 post (of 1 total)

The topic ‘[FIXED] Creating projects with Angluar CLI 1.7.x and 6.x fail’ is closed to new replies.