These are chat archives for AngularClass/NG6-starter

1st
Sep 2015
losorio35
@losorio35
Sep 01 2015 00:34
hello all
C:\xampp\htdocs\NG6-starter>gulp serve
[19:32:56] Requiring external module babel-core/register
C:\xampp\htdocs\NG6-starter\node_modules\babel-core\lib\transformation\file\index.js:671
throw err;
^
SyntaxError: C:/xampp/htdocs/NG6-starter/gulpfile.babel.js: Unexpected token (3:16)
I'm getting this error
could someone please help me?
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:06
cc @nimamehanian what do you think of the error above?
losorio35
@losorio35
Sep 01 2015 05:24
I changed the gulpfile.babel.js file es5
var gulp = require('gulp');
var webpack = require( 'webpack-stream');
var path = require( 'path');
var sync = require( 'run-sequence');
var serve = require( 'browser-sync');
var rename = require( 'gulp-rename');
var template = require( 'gulp-template');
var fs = require( 'fs');
var yargs = require( 'yargs');
var lodash = require( 'lodash');
and it worked

Now when I run gulp serve
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:25
can you make a pull request?
losorio35
@losorio35
Sep 01 2015 05:26
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.components due to:
Error: [$injector:modulerr] Failed to instantiate module home due to:
Error: [$injector:strictdi] function($stateProvider, $urlRouterProvider) is not using explicit annotation and cannot be invoked in strict mode
http://errors.angularjs.org/1.4.5/$injector/strictdi?p0=function(%24stateProvider%2C%20%24urlRouterProvider)
at http://localhost:3000/bundle.js:154:13
at Function.annotate [as $$annotate] (http://localhost:3000/bundle.js:3828:18)
now I get this error
losorio35
@losorio35
Sep 01 2015 05:34
run
npm install
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:35
@losorio35 alright I’m looking into it now
losorio35
@losorio35
Sep 01 2015 05:39
ok Thanks, I am waiting @gdi2290
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:41
@losorio35 it looks like the gulpfile had a lot of errors
losorio35
@losorio35
Sep 01 2015 05:42
ok
executed again
?
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:45
alright I see the error now
losorio35
@losorio35
Sep 01 2015 05:47
ok Thanks @gdi2290
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:50
@losorio35 inside of index.html remove strict-di
losorio35
@losorio35
Sep 01 2015 05:53
ok
Now if it works @gdi2290
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:57
@losorio35 awesome, I pushed up the fix too thanks!
losorio35
@losorio35
Sep 01 2015 05:57
thanks @gdi2290
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 05:57
np
losorio35
@losorio35
Sep 01 2015 06:01
I am planning to develop a large project with angular.
but I read that angular 1 has performance problems
that you recommend that utilizes react to the views or further develop angular 1 and wait for the migration to angular 2?
PatrickJS [tipe.io]
@gdi2290
Sep 01 2015 06:05
angular 2 beta will be out soon. even with that said it’s still too early to develop with it
losorio35
@losorio35
Sep 01 2015 06:07
ok thanks @gdi2290
losorio35
@losorio35
Sep 01 2015 20:53
hello @gdi2290
C:\xampp\htdocs\angular-class-site>gulp nodemon
[15:55:39] Using gulpfile C:\xampp\htdocs\angular-class-site\Gulpfile.js
[15:55:40] Starting 'nodemon'...
[15:55:40] [nodemon] v1.4.1
[15:55:40] [nodemon] to restart at any time, enter rs
[15:55:40] [nodemon] watching: .
[15:55:40] [nodemon] starting node server/index.js
[15:55:40] Finished 'nodemon' after 412 ms
[SyntaxError: Error loading "server" at file:C:\xampp\htdocs\angular-class-site/server/server.js
Evaluating server
Unexpected token ILLEGAL]