Giter Site home page Giter Site logo

famous-angular-starter's People

Contributors

magee avatar ocombe avatar thaiat avatar zackbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

famous-angular-starter's Issues

blank page on cordova

i have this issue when i try to put famous-angular-starter inside cordova build,

i try to test it in my phone (acer liquid e380, android 4.2)

here's the step that i did when producing this error

  1. i create a cordova project using cordova cli
  2. i download famous-angular-starter kit
  3. i extract famous-angular-starter-kit and copy the content to www directory in cordova project
  4. i run cordova platform add android in commang prompt
  5. i run cordova build android
  6. i run cordova run android
  7. then it installed the debug-apk to my phone
  8. and it just show blank page.

other info :
i use android api 22
os windows

Bower can't find Famous-Angular

Failed to execute "git ls-remote --tags --heads git://github.com/Famous/famous-angular.git", exit code of #128

This is stopping all of bower from installing what is needed and there for is blocking everything.

gulp-bower-files deprecated

After npm install -g gulp && npm install and gulp watch this error is generated:

master gardner@gardner:~/src/famous-angular-starter :) $ gulp watch
[12:10:34] Using gulpfile ~/src/famous-angular-starter/gulpfile.js
[12:10:34] Starting 'connect:src'...
[12:10:35] Finished 'connect:src' after 108 ms
[12:10:35] Starting 'styles'...
[12:10:35] Finished 'styles' after 8.83 μs
[12:10:35] Starting 'haml'...
[12:10:35] Finished 'haml' after 8.61 μs
[12:10:35] Starting 'jade'...
[12:10:35] Starting 'scripts'...
[12:10:35] Starting 'partials'...
[12:10:35] Starting 'images'...
[12:10:36] Starting 'fonts'...
[12:10:36] [gulp-bower-files] DEPRECATED  Please use main-bower-files (http://npmjs.org/package/main-bower-files)

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:904:11)
    at Server._listen2 (net.js:1042:14)
    at listen (net.js:1064:10)
    at Server.listen (net.js:1138:5)
    at Gulp.<anonymous> (/Users/gardner/src/famous-angular-starter/gulp/server.js:15:6)
    at module.exports (/Users/gardner/src/famous-angular-starter/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/gardner/src/famous-angular-starter/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/gardner/src/famous-angular-starter/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/gardner/src/famous-angular-starter/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
    at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
master gardner@gardner:~/src/famous-angular-starter :) $ 

This is from commit:

commit 5fbdd7916401f5bb3092a203165928e40f773b0f
Author: Zack Brown <[email protected]>
Date:   Thu Dec 11 22:14:26 2014 -0800

    chore: update famo.us/angular version and clean up boilerplate/dependencies a bunch

Can't start the project

Using both the simple setup (serve) and gulp I get 404s when accessing all assets on /bower_components. Any clue?

Install and run issues

Super excited about this.....

Have just enough background knowledge to see that I needed to install bower and npm files, and worked out that I also needed gulp installed globally. Then figured out that I needed gulp serve, but in the chrome browser control panel I keep getting
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:35729/livereload.js?snipver=1 and thats blocking all real functionality.

gulp serve:dist just gets loads of files unavailable messages

Transitionables queue not executing

On my system, I am only able to see the opacity transitions. On inspection with the Chrome developer tools, I see that the action and callback queues of widthTransitionable and heightTransitionable are simply growing, while the current action remains stuck. I also have:

> $scope.widthTransitionable.isActive()
true

The opacity transition is never kicked off, but this transition can be run in isolation successfully.

gulp-useref error throws during 'gulp build'

Cloned the repo, ran npm install and bower install then ran gulp. I've tracked down the problem to line 47 in the build.js file: .pipe($.useref.assets()).

Got the following:

[gulp] Using gulpfile ~/production_apps/deleteme/gulpfile.js
[gulp] Starting 'clean'...
[gulp] Finished 'clean' after 62 ms
...
...
...
[gulp] Starting 'html'...
[gulp] gulp-size: total 8.49 kB
[gulp] Finished 'images' after 1.36 s

events.js:74
throw TypeError('Uncaught, unspecified "error" event.');
^
TypeError: Uncaught, unspecified "error" event.
at TypeError ()
at Transform.EventEmitter.emit (events.js:74:15)
at Transform. (/Users/mageemooney/production_apps/deleteme/node_modules/gulp-useref/index.js:71:42)
at Array.forEach (native)
at Transform. (/Users/mageemooney/production_apps/deleteme/node_modules/gulp-useref/index.js:61:35)
at Array.forEach (native)
at Transform. (/Users/mageemooney/production_apps/deleteme/node_modules/gulp-useref/index.js:43:36)
at Array.forEach (native)
at Transform._transform (/Users/mageemooney/production_apps/deleteme/node_modules/gulp-useref/index.js:40:23)
at Transform._read (/Users/mageemooney/production_apps/deleteme/node_modules/gulp-useref/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)

Any ideas? I'm a novice to gulp so I've not yet been able to track down what's going on.

Mac OSX Mavericks
node -v: v0.10.26
npm -v: 1.4.3
bower -v: 1.3.2
gulp -v:
[gulp] CLI version 3.6.2
[gulp] Local version 3.6.2

Issue with unit test

Hi,

Unit test (gulp test) are failing with the following error :

NFO [karma]: Karma v0.12.24 server started at http://localhost:9876/                                                                                                                                 
INFO [launcher]: Starting browser PhantomJS                                                                                                                                                           
INFO [PhantomJS 1.9.7 (Linux)]: Connected on socket 2ThvgK0qLRM3WHzuTun9 with id 38233390                                                                                                             
PhantomJS 1.9.7 (Linux) ERROR                                                                                                                                                                         
  TypeError: 'undefined' is not a function (evaluating 'window.requestAnimationFrame(loop)')                                                                                                          
  at /home/codio/workspace/famous-angular-starter/app/bower_components/famous/famous-global.js:434                                                                                                    
....

I think it comes from the fact that phantomJS does not know window.requestAnimationFrame

Have you ever succeeded in running the unit test with phantomJS in this project ?

Is Jade a depenency?

Many people (like me) hate Jade - not a great thing to have as a dependency. If there is a jade-less way to do this thing, either docs for doing a "Jadeectomy" or a jadeectomy would be preferred

Do I need to install these?

Hello, I am learning famo.us/angularJs.

Do I need to install these?:

<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-touch/angular-touch.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>

<script src="bower_components/underscore/underscore.js"></script>

I downloaded famo.us/angular through bower, and the Angular version is 1.2.x, but angular-animate requires 1.3.x. Also why do you have underscore.js?

"The easy way" missed on step

the demo need Angular dependency support, to do that run "bower install angular" in the root directory to download the angular support before run "serve"

Error while serving with Gulp

2 errors
/Users/Shapath/Developer/AngularJS/Tut/app/scripts/main/main-ctrl.js: line 1, col 1, Use the function form of "use strict".
/Users/Shapath/Developer/AngularJS/Tut/app/scripts/main/main-ctrl.js: line 3, col 1, 'angular' is not defined.

I have edited nothing. All I did was

npm install

to add dependencies..

Missing famous-global.js

I can't find famous-global.js so when the index.html opend in a browser it will complaint because famo.us is not found.

Protractor E2E test failure

Without making any changes to the code, everything works fine in the browser but I get an error when when I run gulp protractor.

gulp protractor
[00:15:07] Using gulpfile /famous-angular/gulpfile.js
[00:15:07] Starting 'connect:src'...
[00:15:07] Finished 'connect:src' after 142 ms
[00:15:07] Starting 'webdriver-update'...
[00:15:07] Starting 'wiredep'...
[00:15:07] Finished 'wiredep' after 18 μs
Started connect web server on http://localhost:9000
Updating selenium standalone
downloading http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar...
Updating chromedriver
downloading https://chromedriver.storage.googleapis.com/2.9/chromedriver_mac32.zip...
chromedriver_2.9.zip downloaded to /famous-angular/node_modules/protractor/selenium/chromedriver_2.9.zip
selenium-server-standalone-2.41.0.jar downloaded to /famous-angular/node_modules/protractor/selenium/selenium-server-standalone-2.41.0.jar
[00:15:14] Finished 'webdriver-update' after 6.76 s
[00:15:14] Starting 'protractor-only'...
Starting selenium standalone server...
Selenium standalone server started at http://192.168.0.17:54667/wd/hub
F

Failures:

  1) The main view list 3 awesome things
   Message:
     UnknownError: {"errorMessage":"[$injector:modulerr] Failed to instantiate module famousAngularStarter due to:\nError: [$injector:modulerr] Failed to instantiate module famous.angular due to:\nReferenceError: Can't find variable: famous\n    at http://localhost:9000/bower_components/famous-angular/dist/famous-angular.js:21\n    at invoke (http://localhost:9000/bower_components/angular/angular.js:3956)\n    at instantiate (http://localhost:9000/bower_components/angular/angular.js:3967)\n    at provider (http://localhost:9000/bower_components/angular/angular.js:3823)\n    at http://localhost:9000/bower_components/angular/angular.js:3815\n    at http://localhost:9000/bower_components/angular/angular.js:3875\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at http://localhost:9000/bower_components/angular/angular.js:3869\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at createInjector (http://localhost:9000/bower_components/angular/angular.js:3802)\n    at http://localhost:9000/bower_components/angular/angular.js:1435\n    at http://localhost:9000/bower_components/angular/angular.js:1458\n    at :2\n    at anonymous (:3)\n    at La (phantomjs://webpage.evaluate():13)\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():14\n    at phantomjs://webpage.evaluate():14\nhttp://errors.angularjs.org/1.2.22/$injector/modulerr?p0=famous.angular&p1=ReferenceError%3A%20Can't%20find%20variable%3A%20famous%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Ffamous-angular%2Fdist%2Ffamous-angular.js%3A21%0A%20%20%20%20at%20invoke%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3956)%0A%20%20%20%20at%20instantiate%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3967)%0A%20%20%20%20at%20provider%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3823)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3815%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3875%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14\n    at http://localhost:9000/bower_components/angular/angular.js:3897\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at http://localhost:9000/bower_components/angular/angular.js:3869\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at createInjector (http://localhost:9000/bower_components/angular/angular.js:3802)\n    at http://localhost:9000/bower_components/angular/angular.js:1435\n    at http://localhost:9000/bower_components/angular/angular.js:1458\n    at :2\n    at anonymous (:3)\n    at La (phantomjs://webpage.evaluate():13)\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():14\n    at phantomjs://webpage.evaluate():14\nhttp://errors.angularjs.org/1.2.22/$injector/modulerr?p0=famousAngularStarter&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20famous.angular%20due%20to%3A%0AReferenceError%3A%20Can't%20find%20variable%3A%20famous%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Ffamous-angular%2Fdist%2Ffamous-angular.js%3A21%0A%20%20%20%20at%20invoke%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3956)%0A%20%20%20%20at%20instantiate%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3967)%0A%20%20%20%20at%20provider%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3823)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3815%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3875%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.2.22%2F%24injector%2Fmodulerr%3Fp0%3Dfamous.angular%26p1%3DReferenceError%253A%2520Can't%2520find%2520variable%253A%2520famous%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Ffamous-angular%252Fdist%252Ffamous-angular.js%253A21%250A%2520%2520%2520%2520at%2520invoke%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3956)%250A%2520%2520%2520%2520at%2520instantiate%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3967)%250A%2520%2520%2520%2520at%2520provider%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3823)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3815%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3875%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A325)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3899)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3869%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A325)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3899)%250A%2520%2520%2520%2520at%2520createInjector%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3802)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A1435%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A1458%250A%2520%2520%2520%2520at%2520%253A2%250A%2520%2520%2520%2520at%2520anonymous%2520(%253A3)%250A%2520%2520%2520%2520at%2520La%2520(phantomjs%253A%252F%252Fwebpage.evaluate()%253A13)%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A13%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A13%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A14%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A14%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3897%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14","request":{"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"120","Content-Type":"application/json; charset=utf-8","Host":"localhost:2472"},"httpVersion":"1.1","method":"POST","post":"{\"args\":[[]],\"script\":\"return (function () {\\n    angular.resumeBootstrap(arguments[0]);\\n  }).apply(null, arguments);\"}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/084337d0-7dd0-11e4-8196-596f69994414/execute"}}
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32'
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.1', java.version: '1.8.0_25'
Driver info: driver.version: unknown
   Stacktrace:
     UnknownError: {"errorMessage":"[$injector:modulerr] Failed to instantiate module famousAngularStarter due to:\nError: [$injector:modulerr] Failed to instantiate module famous.angular due to:\nReferenceError: Can't find variable: famous\n    at http://localhost:9000/bower_components/famous-angular/dist/famous-angular.js:21\n    at invoke (http://localhost:9000/bower_components/angular/angular.js:3956)\n    at instantiate (http://localhost:9000/bower_components/angular/angular.js:3967)\n    at provider (http://localhost:9000/bower_components/angular/angular.js:3823)\n    at http://localhost:9000/bower_components/angular/angular.js:3815\n    at http://localhost:9000/bower_components/angular/angular.js:3875\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at http://localhost:9000/bower_components/angular/angular.js:3869\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at createInjector (http://localhost:9000/bower_components/angular/angular.js:3802)\n    at http://localhost:9000/bower_components/angular/angular.js:1435\n    at http://localhost:9000/bower_components/angular/angular.js:1458\n    at :2\n    at anonymous (:3)\n    at La (phantomjs://webpage.evaluate():13)\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():14\n    at phantomjs://webpage.evaluate():14\nhttp://errors.angularjs.org/1.2.22/$injector/modulerr?p0=famous.angular&p1=ReferenceError%3A%20Can't%20find%20variable%3A%20famous%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Ffamous-angular%2Fdist%2Ffamous-angular.js%3A21%0A%20%20%20%20at%20invoke%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3956)%0A%20%20%20%20at%20instantiate%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3967)%0A%20%20%20%20at%20provider%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3823)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3815%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3875%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14\n    at http://localhost:9000/bower_components/angular/angular.js:3897\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at http://localhost:9000/bower_components/angular/angular.js:3869\n    at forEach (http://localhost:9000/bower_components/angular/angular.js:325)\n    at loadModules (http://localhost:9000/bower_components/angular/angular.js:3899)\n    at createInjector (http://localhost:9000/bower_components/angular/angular.js:3802)\n    at http://localhost:9000/bower_components/angular/angular.js:1435\n    at http://localhost:9000/bower_components/angular/angular.js:1458\n    at :2\n    at anonymous (:3)\n    at La (phantomjs://webpage.evaluate():13)\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():13\n    at phantomjs://webpage.evaluate():14\n    at phantomjs://webpage.evaluate():14\nhttp://errors.angularjs.org/1.2.22/$injector/modulerr?p0=famousAngularStarter&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20famous.angular%20due%20to%3A%0AReferenceError%3A%20Can't%20find%20variable%3A%20famous%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Ffamous-angular%2Fdist%2Ffamous-angular.js%3A21%0A%20%20%20%20at%20invoke%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3956)%0A%20%20%20%20at%20instantiate%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3967)%0A%20%20%20%20at%20provider%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3823)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3815%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3875%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.2.22%2F%24injector%2Fmodulerr%3Fp0%3Dfamous.angular%26p1%3DReferenceError%253A%2520Can't%2520find%2520variable%253A%2520famous%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Ffamous-angular%252Fdist%252Ffamous-angular.js%253A21%250A%2520%2520%2520%2520at%2520invoke%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3956)%250A%2520%2520%2520%2520at%2520instantiate%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3967)%250A%2520%2520%2520%2520at%2520provider%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3823)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3815%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3875%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A325)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3899)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3869%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A325)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3899)%250A%2520%2520%2520%2520at%2520createInjector%2520(http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A3802)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A1435%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A9000%252Fbower_components%252Fangular%252Fangular.js%253A1458%250A%2520%2520%2520%2520at%2520%253A2%250A%2520%2520%2520%2520at%2520anonymous%2520(%253A3)%250A%2520%2520%2520%2520at%2520La%2520(phantomjs%253A%252F%252Fwebpage.evaluate()%253A13)%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A13%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A13%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A14%250A%2520%2520%2520%2520at%2520phantomjs%253A%252F%252Fwebpage.evaluate()%253A14%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3897%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3869%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A325)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3899)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A3802)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1435%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A9000%2Fbower_components%2Fangular%2Fangular.js%3A1458%0A%20%20%20%20at%20%3A2%0A%20%20%20%20at%20anonymous%20(%3A3)%0A%20%20%20%20at%20La%20(phantomjs%3A%2F%2Fwebpage.evaluate()%3A13)%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A13%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14%0A%20%20%20%20at%20phantomjs%3A%2F%2Fwebpage.evaluate()%3A14","request":{"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"120","Content-Type":"application/json; charset=utf-8","Host":"localhost:2472"},"httpVersion":"1.1","method":"POST","post":"{\"args\":[[]],\"script\":\"return (function () {\\n    angular.resumeBootstrap(arguments[0]);\\n  }).apply(null, arguments);\"}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/084337d0-7dd0-11e4-8196-596f69994414/execute"}}
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32'
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.1', java.version: '1.8.0_25'
Driver info: driver.version: unknown
==== async task ====
WebDriver.executeScript()
    at null.<anonymous> (/famous-angular/test/e2e/main.js:6:13)
==== async task ====
Asynchronous test function: beforeEach()
Error
    at null.<anonymous> (/famous-angular/test/e2e/main.js:5:3)
    at Object.<anonymous> (/famous-angular/test/e2e/main.js:3:1)

  2) The main view list 3 awesome things
   Message:
     Error: Error while waiting for Protractor to sync with the page: {"sourceId":4517152456,"stack":"TypeError: 'undefined' is not an object (evaluating 'angular.element(el).injector().get')\n    at :4\n    at anonymous (:9)\n    at Na (phantomjs://webpage.evaluate():14)\n    at phantomjs://webpage.evaluate():15\n    at phantomjs://webpage.evaluate():15\n    at phantomjs://webpage.evaluate():16\n    at phantomjs://webpage.evaluate():16\n    at phantomjs://webpage.evaluate():16","line":4,"name":"TypeError","stackArray":[{"sourceURL":"","line":4},{"sourceURL":"","line":9,"function":"anonymous"},{"sourceURL":"phantomjs://webpage.evaluate()","line":14,"function":"Na"},{"sourceURL":"phantomjs://webpage.evaluate()","line":15},{"sourceURL":"phantomjs://webpage.evaluate()","line":15},{"sourceURL":"phantomjs://webpage.evaluate()","line":16},{"sourceURL":"phantomjs://webpage.evaluate()","line":16},{"sourceURL":"phantomjs://webpage.evaluate()","line":16}],"message":"'undefined' is not an object (evaluating 'angular.element(el).injector().get')"}
   Stacktrace:
     Error: Error while waiting for Protractor to sync with the page: {"sourceId":4517152456,"stack":"TypeError: 'undefined' is not an object (evaluating 'angular.element(el).injector().get')\n    at :4\n    at anonymous (:9)\n    at Na (phantomjs://webpage.evaluate():14)\n    at phantomjs://webpage.evaluate():15\n    at phantomjs://webpage.evaluate():15\n    at phantomjs://webpage.evaluate():16\n    at phantomjs://webpage.evaluate():16\n    at phantomjs://webpage.evaluate():16","line":4,"name":"TypeError","stackArray":[{"sourceURL":"","line":4},{"sourceURL":"","line":9,"function":"anonymous"},{"sourceURL":"phantomjs://webpage.evaluate()","line":14,"function":"Na"},{"sourceURL":"phantomjs://webpage.evaluate()","line":15},{"sourceURL":"phantomjs://webpage.evaluate()","line":15},{"sourceURL":"phantomjs://webpage.evaluate()","line":16},{"sourceURL":"phantomjs://webpage.evaluate()","line":16},{"sourceURL":"phantomjs://webpage.evaluate()","line":16}],"message":"'undefined' is not an object (evaluating 'angular.element(el).injector().get')"}
    at Error (<anonymous>)
==== async task ====
WebDriver.executeScript()
    at null.<anonymous> (/famous-angular/test/e2e/main.js:10:70)
==== async task ====
Asynchronous test function: it("list 3 awesome things")
Error
    at null.<anonymous> (/famous-angular/test/e2e/main.js:9:3)
    at Object.<anonymous> (/famous-angular/test/e2e/main.js:3:1)

Finished in 2.808 seconds
1 test, 2 assertions, 2 failures

Shutting down selenium standalone server.

/famous-angular/gulp/e2e-tests.js:23
      throw err;
            ^
Error in plugin 'gulp-protractor'
protractor exited with code 1
    at ChildProcess.<anonymous> (/famous-angular/node_modules/gulp-protractor/index.js:40:27)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:810:12)

gulp test fails

There seems to be a problem running the gulp-karma tests on this seed project.

I get the warning famous was not injected in your file when running gulp test
Then all the famous paths return a 404 error and the tests fail.

How do I fix this?

Blank page after gulp serve:dist

Working with a clean clone of the repository I run the following:

git pull origin master
npm install
gulp watch
gulp
gulp serve:dist

Via the browser console I get the following errors:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/styles/vendor.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/famous-angular/dist/famous-angular.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/jquery/dist/jquery.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular/angular.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-animate/angular-animate.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-cookies/angular-cookies.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-touch/angular-touch.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-sanitize/angular-sanitize.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-resource/angular-resource.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-ui-router/release/angular-ui-router.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/angular-route/angular-route.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/requirejs/require.js
Uncaught ReferenceError: require is not defined localhost:9000/:46
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/underscore/underscore.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/bower_components/famous-angular/dist/famous-angular.js
Uncaught ReferenceError: angular is not defined localhost:9000/scripts/main-afd6cdfc.js:1

Obviously I am able to resolve all but the vendor.css error by just placing all the missing scripts in the appropriate dist folder but I do not think that is an intended fix. Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.