- This topic has 2 replies, 3 voices, and was last updated 7 years, 3 months ago by Brian Fernandes.
-
AuthorPosts
-
FrédéricParticipantHello,
as I want to learn Angular, I’ve just cloned a git repository with a project : Angular Seed.
This should help me understand how it works.After fetching the project from Git, I import it in the IDE and I now have a nice project named ‘angular-seed’
As I wanna run it, I have to do a “npm install”, but it seems that bash does not recognize this command.
It means that Node / npm is not installed I guess.In the properties, I have added the Node package as well as the Node Extension package.
But it doesn’t work too.
What should I do ?
support-swapnaModeratorFrederic,
Sorry that you are seeing this issue. I could clone this repo : https://github.com/angular/angular-seed.git in the Git repositories view and then right click on the repo and selected ‘Import Projects’. Once the project is imported, I selected it in the Terminal+ view and could successfully run ‘npm install’.
Can you please give us some more details to help us investigate further?
1. Which product are you working with? MyEclipse/Angular IDE or Webclipse?
2. Can you please share with us the steps in detail you followed right from cloning the repository to how you are importing the project into the IDE?
3. Please share with us the exact errors you are seeing when running ‘npm install’ on the project. If possible share the screenshot of the Terminal+ view to help us get a visual.
4. You mentioned that you have added the Node as well as the Node extension package. Can you please share with us the screenshot to help us get a visual of it?–Swapna
MyEclipse Support
Brian FernandesModeratorFrederic,
After taking a closer look, we realized that the angular-seed project is an AngularJS (or Angular 1) project. Since you are new to Angular, I’m sure what you actually want to learn is Angular 2+ – which is drastically different from the now obsolete Angular 1. Please watch out for this difference when looking up resources online, as several detailed AngularJS resources will still show up in search.
Let me recommend the following articles to help you get started with Angular 2 (and later) development.
https://www.genuitec.com/docs/web-apps/modern-web/creating-angular-application/
https://www.genuitec.com/docs/web-apps/modern-web/working-angular-example-app/
https://www.genuitec.com/creating-first-angular-4-app-using-angular-ide/Hope this helps.
-
AuthorPosts