facebook

Unable to create angular project

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #532088 Reply

    bill-g
    Participant

    Hi, I download angular ide to my mac and install it. When I use it to create a test angular project, it failed with following message in the terminal+:

    Downloading and extracting Node 7.10.0…
    Downloading and extracting NPM 4.6.1…
    ksh: rcfile: bad option(s)
    Usage: ksh [ options ] [arg …]

    There is also a popup with message:
    Project initialization commands execution failed, check terminal output for details.
    Delete project?

    Reason:
    Unexpected exist value executing:
    npm install @angular/cli@1.1.0 (exit value: 2)

    I repeat the same process in my other mac, which has the same version of macOS Sierra, everything works fine.

    Can anybody please help me with this?

    thanks a lot!

    #532132 Reply

    support-tony
    Keymaster

    bill-g,

    Sorry you’re seeing this issue. Unfortunately, our Terminal+ view assumes that the default system shell, bash, is being used, and other shells may cause problems. It looks like you’ve altered the system shell to ksh, on one of your machines but not on the other. The recommended workaround is to switch back to the bash shell as your default. The only other workaround is to enter the commands mentioned in the new project wizard into a terminal outside of Webclipse, after changing to the project folder. However, you will likely experience similar problems when other functions are run in the Terminal+ window, hence the recommended solution.

    We’re looking at how we can better support a non-default shell, but don’t have any timeline for when that may be done.

    Apologies for the inconvenience.

    #532148 Reply

    bill-g
    Participant

    Thanks a lot, support-tony

    You really save my day!

    #532345 Reply

    support-tony
    Keymaster

    Bill,

    I’m glad that worked for you. Thanks for getting back to us.

    #533866 Reply

    simonmayers
    Participant

    You try completely uninstalling Node and NPM and reinstalling.
    driving directions

    • This reply was modified 6 years, 8 months ago by simonmayers.
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Unable to create angular project

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