Sunday, May 24, 2015

WebStorm JetBrains - install and run sample AngularJS app

1. Install WebStorm
2. Install NodeJS
3. Check it is installed:
   C:\Users\Andre>npm -version
   2.10.1
4. Run from the AngularJS root project directory npm install:
e.g. listed below.
5. In order to debbug JavaScript check that your Chrome has jetbrains-ide-support extension. If it is not installed look for it here: https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji


==============

C:\Users\Andre\GIT\ces-angular>npm install
npm WARN engine karma@0.10.10: wanted: {"node":"~0.8 || ~0.10"} (current: {"node":"0.12.4","npm":"2.10.1"})
npm WARN peerDependencies The peer dependency karma-jasmine@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-requirejs@~0.2.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-coffee-preprocessor@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-html2js-preprocessor@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-chrome-launcher@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-firefox-launcher@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-phantomjs-launcher@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma-script-launcher@~0.1.0 included from karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN optional dep failed, continuing fsevents@0.2.1
|


> ws@0.4.32 install C:\Users\Andre\GIT\ces-angular\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

/
C:\Users\Andre\GIT\ces-angular\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (rebuild)
npm WARN peerDependencies The peer dependency requirejs@~2.1 included from karma-requirejs will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
\
> phantomjs@1.9.17 install C:\Users\Andre\GIT\ces-angular\node_modules\karma-phantomjs-launcher\node_modules\phantomjs
> node install.js

Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip
Saving to C:\Users\Andre\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Receiving...
  [=======================================-] 96% 0.0s
Received 7292K total.
Extracting zip contents
Removing C:\Users\Andre\GIT\ces-angular\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\Andre\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1432425066349\phantomjs-1.9.8-windows -> C:\Users\Andre\GIT\ces-angular\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\Users\Andre\GIT\ces-angular\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom\phantomjs.exe

> angular-seed@0.0.0 postinstall C:\Users\Andre\GIT\ces-angular
> bower install

? May bower anonymously report usage statistics to improve the tool over time? No
bower html5-boilerplate#~4.3.0       not-cached git://github.com/h5bp/html5-boilerplate.git#~4.3.0
bower html5-boilerplate#~4.3.0          resolve git://github.com/h5bp/html5-boilerplate.git#~4.3.0
bower angular#1.2.x                  not-cached git://github.com/angular/bower-angular.git#1.2.x
bower angular#1.2.x                     resolve git://github.com/angular/bower-angular.git#1.2.x
bower angular-loader#1.2.x           not-cached git://github.com/angular/bower-angular-loader.git#1.2.x
bower angular-loader#1.2.x              resolve git://github.com/angular/bower-angular-loader.git#1.2.x
bower angular-route#1.2.x            not-cached git://github.com/angular/bower-angular-route.git#1.2.x
bower angular-route#1.2.x               resolve git://github.com/angular/bower-angular-route.git#1.2.x
bower angular-mocks#~1.2.x           not-cached git://github.com/angular/bower-angular-mocks.git#~1.2.x
bower angular-mocks#~1.2.x              resolve git://github.com/angular/bower-angular-mocks.git#~1.2.x
bower html5-boilerplate#~4.3.0         download https://github.com/h5bp/html5-boilerplate/archive/v4.3.0.tar.gz
bower angular-loader#1.2.x             download https://github.com/angular/bower-angular-loader/archive/v1.2.28.tar.gz
bower angular-route#1.2.x              download https://github.com/angular/bower-angular-route/archive/v1.2.28.tar.gz
bower angular#1.2.x                    download https://github.com/angular/bower-angular/archive/v1.2.28.tar.gz
bower angular-mocks#~1.2.x             download https://github.com/angular/bower-angular-mocks/archive/v1.2.28.tar.gz
bower angular-loader#1.2.x              extract archive.tar.gz
bower html5-boilerplate#~4.3.0          extract archive.tar.gz
bower angular-loader#1.2.x             resolved git://github.com/angular/bower-angular-loader.git#1.2.28
bower angular-route#1.2.x               extract archive.tar.gz
bower angular-mocks#~1.2.x              extract archive.tar.gz
bower angular-route#1.2.x              resolved git://github.com/angular/bower-angular-route.git#1.2.28
bower angular-mocks#~1.2.x             resolved git://github.com/angular/bower-angular-mocks.git#1.2.28
bower html5-boilerplate#~4.3.0     invalid-meta html5-boilerplate is missing "main" entry in bower.json
bower html5-boilerplate#~4.3.0     invalid-meta html5-boilerplate is missing "ignore" entry in bower.json
bower html5-boilerplate#~4.3.0         resolved git://github.com/h5bp/html5-boilerplate.git#4.3.0
bower angular#1.2.x                     extract archive.tar.gz
bower angular#1.2.x                    resolved git://github.com/angular/bower-angular.git#1.2.28
bower angular-loader#1.2.x              install angular-loader#1.2.28
bower angular-route#1.2.x               install angular-route#1.2.28
bower angular-mocks#~1.2.x              install angular-mocks#1.2.28
bower html5-boilerplate#~4.3.0          install html5-boilerplate#4.3.0
bower angular#1.2.x                     install angular#1.2.28

angular-loader#1.2.28 app\bower_components\angular-loader
└── angular#1.2.28

angular-route#1.2.28 app\bower_components\angular-route
└── angular#1.2.28

angular-mocks#1.2.28 app\bower_components\angular-mocks
└── angular#1.2.28

html5-boilerplate#4.3.0 app\bower_components\html5-boilerplate

angular#1.2.28 app\bower_components\angular
shelljs@0.2.6 node_modules\shelljs

karma-junit-reporter@0.2.2 node_modules\karma-junit-reporter
└── xmlbuilder@0.4.2

http-server@0.6.1 node_modules\http-server
├── opener@1.3.0
├── colors@0.6.2
├── portfinder@0.2.1 (mkdirp@0.0.7)
├── optimist@0.5.2 (wordwrap@0.0.3)
├── ecstatic@0.4.13 (ent@0.0.7, mime@1.2.11, optimist@0.3.7)
└── union@0.3.8 (pkginfo@0.2.3, qs@0.5.6)

bower@1.4.1 node_modules\bower
├── is-root@1.0.0
├── junk@1.0.1
├── stringify-object@1.0.1
├── abbrev@1.0.6
├── chmodr@0.1.0
├── user-home@1.1.1
├── rimraf@2.3.4
├── archy@1.0.0
├── lru-cache@2.6.4
├── graceful-fs@3.0.7
├── bower-logger@0.2.2
├── bower-endpoint-parser@0.2.2
├── lockfile@1.0.1
├── opn@1.0.2
├── retry@0.6.1
├── nopt@3.0.2
├── tmp@0.0.24
├── request-progress@0.3.1 (throttleit@0.0.2)
├── q@1.4.1
├── shell-quote@1.4.3 (array-reduce@0.0.0, array-map@0.0.0, array-filter@0.0.1, jsonify@0.0.0)
├── semver@2.3.2
├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)
├── which@1.1.1 (is-absolute@0.1.7)
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── fstream@1.0.6 (inherits@2.0.1)
├── p-throttler@0.1.1 (q@0.9.7)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── promptly@0.2.0 (read@1.0.6)
├── tar-fs@1.5.1 (pump@1.0.0, tar-stream@1.1.5)
├── fstream-ignore@1.0.2 (inherits@2.0.1, minimatch@2.0.8)
├── glob@4.5.3 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.8)
├── insight@0.5.3 (object-assign@2.0.0, async@0.9.2, lodash.debounce@3.1.0, os-name@1.0.3, tough-cookie@0.12.1)
├── decompress-zip@0.1.0 (mkpath@0.1.0, touch@0.0.3, readable-stream@1.1.13, binary@0.3.0)
├── update-notifier@0.3.2 (is-npm@1.0.0, string-length@1.0.0, semver-diff@2.0.0, latest-version@1.0.0)
├── request@2.53.0 (caseless@0.9.0, aws-sign2@0.5.0, stringstream@0.0.4, forever-agent@0.5.2, tunnel-agent@0.4.0, oauth-sign@0.6.0, isstream@0.1.2, json-stringify-safe@5.0.1, qs@2.3.3, node-uuid@1.4.3, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.12, bl@0.9.4, http-signature@0.10.1, tough-cookie@1.1.0, hawk@2.3.1)
├── github@0.2.4 (mime@1.3.4)
├── bower-registry-client@0.3.0 (request-replay@0.2.0, graceful-fs@2.0.3, rimraf@2.2.8, lru-cache@2.3.1, async@0.2.10, mkdirp@0.3.5, request@2.51.0)
├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
├── mout@0.11.0
├── bower-config@0.6.1 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1, mout@0.9.1)
├── configstore@0.3.2 (object-assign@2.0.0, xdg-basedir@1.0.1, osenv@0.1.1, uuid@2.0.1, js-yaml@3.3.1)
├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)
└── inquirer@0.8.0 (ansi-regex@1.1.1, figures@1.3.5, mute-stream@0.0.4, through@2.3.7, readline2@0.1.1, chalk@0.5.1, lodash@2.4.2, cli-color@0.3.3, rx@2.5.2)

protractor@1.8.0 node_modules\protractor
├── jasminewd@1.1.0
├── jasminewd2@0.0.2
├── saucelabs@0.1.1
├── html-entities@1.1.2
├── q@1.0.0
├── minijasminenode@1.1.1
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── adm-zip@0.4.4
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── accessibility-developer-tools@2.6.0
├── source-map-support@0.2.10 (source-map@0.1.32)
├── request@2.36.0 (aws-sign2@0.5.0, forever-agent@0.5.2, oauth-sign@0.3.0, tunnel-agent@0.4.0, qs@0.6.6, json-stringify-safe@5.0.1, mime@1.2.11, node-uuid@1.4.3, form-data@0.1.4, http-signature@0.10.1, hawk@1.0.0, tough-cookie@1.1.0)
├── lodash@2.4.2
├── jasmine@2.1.1 (jasmine-core@2.1.3)
└── selenium-webdriver@2.44.0 (tmp@0.0.24, xml2js@0.4.4)

karma-script-launcher@0.1.0 node_modules\karma-script-launcher

karma-html2js-preprocessor@0.1.0 node_modules\karma-html2js-preprocessor

karma-firefox-launcher@0.1.6 node_modules\karma-firefox-launcher

karma-jasmine@0.1.5 node_modules\karma-jasmine

karma-chrome-launcher@0.1.12 node_modules\karma-chrome-launcher
└── which@1.1.1 (is-absolute@0.1.7)

requirejs@2.1.17 node_modules\requirejs

karma-requirejs@0.2.2 node_modules\karma-requirejs

karma-coffee-preprocessor@0.1.3 node_modules\karma-coffee-preprocessor
└── coffee-script@1.7.1 (mkdirp@0.3.5)

karma-phantomjs-launcher@0.1.4 node_modules\karma-phantomjs-launcher
└── phantomjs@1.9.17 (which@1.0.9, progress@1.1.8, kew@0.4.0, request-progress@0.3.1, adm-zip@0.4.4, npmconf@2.1.1, fs-extra@0.18.4, request@2.42.0)

karma@0.10.10 node_modules\karma
├── di@0.0.1
├── rimraf@2.1.4
├── colors@0.6.0-1
├── graceful-fs@1.2.3
├── mime@1.2.11
├── q@0.9.7
├── glob@3.1.21 (inherits@1.0.0)
├── minimatch@0.2.14 (sigmund@1.0.1, lru-cache@2.6.4)
├── optimist@0.3.7 (wordwrap@0.0.3)
├── coffee-script@1.6.3
├── connect@2.8.8 (uid2@0.0.2, methods@0.0.1, cookie-signature@1.0.1, pause@0.0.1, fresh@0.2.0, qs@0.6.5, bytes@0.2.0, buffer-crc32@0.2.1, cookie@0.1.0, send@0.1.4, debug@2.2.0, formidable@1.0.14)
├── log4js@0.6.25 (async@0.2.10, underscore@1.8.2, readable-stream@1.0.33, semver@4.3.4)
├── lodash@1.1.1
├── chokidar@0.8.4 (recursive-readdir@0.0.2)
├── http-proxy@0.10.4 (colors@0.6.2, pkginfo@0.3.0, optimist@0.6.1, utile@0.2.1)
├── useragent@2.0.10 (lru-cache@2.2.4)
└── socket.io@0.9.17 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16)

C:\Users\Andre\GIT\ces-angular>

No comments: