angular-eclipse icon indicating copy to clipboard operation
angular-eclipse copied to clipboard

Not able to create a new project

Open sameerkumarm opened this issue 6 years ago • 8 comments

While trying to create a new project I am facing the below issue

Searching for global Angular CLI...

The 'C:/Users/xxxx/AppData/Roaming/npm/ng.cmd' is not a ng file.

sameerkumarm avatar Mar 14 '18 18:03 sameerkumarm

Which version of angular eclipse are you using?

angelozerr avatar Mar 14 '18 21:03 angelozerr

I am seeing the same issue. Just upgraded to Oxygen.3 Release (4.7.3)

ShaneCoder avatar Mar 23 '18 04:03 ShaneCoder

Oops, Angular2 Eclipse 1.3.0.201707082320

ShaneCoder avatar Mar 23 '18 19:03 ShaneCoder

Have the same problem. Using Eclipse 4.7.1a (Oxygen 1a), Angular2 1.3.0.201707082320

If you tell it to install locally (rather than use the global one, which is installed) then it seems fine.

martinwalke avatar Apr 04 '18 11:04 martinwalke

Hmmm. may have spoken too soon!

Attached is the output on the terminal which appears to be fine until it wants to create the project files but doesn't. In fact, it doesn't seem to do a lot!!!

Seeing as this is my first use of Angular2 (or even JS), are there any tutorials that use Eclipse and the Angular2 plugin - not JS or AngularIDE?

I can use "ng new xxx" in the terminal window but surely it should be integrated into Eclipse?

Any clues would be really helpful.

TIA

eclipse_angular.log

martinwalke avatar Apr 04 '18 11:04 martinwalke

Is this still not fixed?

manhbui21 avatar Oct 23 '18 15:10 manhbui21

Just tried with the 1.4.0 SNAPSHOT. Same problem. It will not identify the global installation of the angular CLI

sstGryphon avatar Jan 18 '19 05:01 sstGryphon

Maybe this sounds obvious or Eclipse just handles/transforms it automatically, but the path of the ng file is with slashes (/), and not backslashes () as Windows requires... @angelozerr

ArnauAregall avatar Jan 28 '19 01:01 ArnauAregall