Prerequisites for Angular project
Hello. I'm a newbie so don't kill me.
I just install Webstorm 2017.2.5 and want to create an Angular (2) application.
I started with the template project and can't run it because I think I'm missing stuff, like Nodejs, etc.
I come from a Microsoft Visual Studio background. Visual Studio installs everything one needs to develop and run an application.
I have a feeling Webstorm doesn't. So I think I'm missing some prerequisite software packages.
I searched all over the place and can't find a simple "How To" for setting up my development environment for Webstorm. So here I am.
Can someone please point me in the direction of, or tell me, what I need to do an addition to installing Webstorm?
Thanks in advance,
Mike
Please sign in to leave a comment.
> started with the template project and can't run it because I think I'm missing stuff, like Nodejs, etc.
do you mean File | New | project | Angular CLI? this is a project template for Angular 2, and you won't be able to use this template unless you have Node.js installed. Node.js is required for JavaScript development and for Angular development in particular - see https://angular.io/guide/quickstart
See also https://blog.jetbrains.com/webstorm/2016/04/angular-2-workflow-in-webstorm/
Hi, Elena. Thanks for responding.
No, not CLI, just Angular JS.
For the template project to compile and run, is Node js the only thing that I need to install outside of Webstorm?
Thanks again,
Mike
Angular 2 mentioned in your first comment is not AngularJS. So, which framework are you going to use?
For Angular 2, see instructions in my previous comment.
For AngularJS, see https://docs.angularjs.org/tutorial and https://blog.jetbrains.com/webstorm/2014/03/angularjs-workflow-in-webstorm/
in either case, you have to make sure to install Node.js
Huh. I thought the vernacular "Angular" these days implied Angular 2.
I don't like command line interfaces.
Didn't Webstorm previously have an Angular 2 template project?
When creating an Angular CLI project, I'm being presented with "Unspecified @angular/cli package". What is that?
>I thought the vernacular "Angular" these days implied Angular 2.
exactly - "Angular" is "Angular 2+", but "Angular JS" is "Angular 1". So, New | Project.. | Angular JS is a template for Angular 1 project
>Didn't Webstorm previously have an Angular 2 template project?
the only Angular 2 template WebStorm ever had is Angular CLI
>When creating an Angular CLI project, I'm being presented with "Unspecified @angular/cli package". What is that?
exactly what is written - you didn't specify a path to angular cli package that is required for creating Angular project. Using cli is the officially recommended way to create Angular app - see https://angular.io/guide/quickstart
Ok, got it. Thanks for your help, Elena.