facebook

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

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #559010 Reply

    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 years, 1 month ago by Brian Fernandes. Reason: Added fix in pre-release
Viewing 1 post (of 1 total)
Reply To: [FIXED] Creating projects with Angluar CLI 1.7.x and 6.x fail

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in