Skip to content
This repository was archived by the owner on Aug 25, 2018. It is now read-only.
This repository was archived by the owner on Aug 25, 2018. It is now read-only.

"test" is not working after new install #60

Description

@jakhay

Installed angular generator project using yo.

Summary of my selections:
Out of the box I include Bootstrap and some AngularJS recommended modules, AngularFire, and Firebase authentication.
? Firebase instance (https://.firebaseio.com) glowing-torch-8951
? Include Firebase auth and account tools? Yes
? Which providers shall I install? Email/Password, Anonymous, Facebook, Google, Twitter, GitHub
? Would you like to use Sass (with Compass)? Yes
? Would you like to include Bootstrap? Yes
? Would you like to use the Sass version of Bootstrap? Yes
? Which modules would you like to include? angular-animate.js, angular-cookies.js, angular-resource.js, angular-route.js, angular-sanitize.js, angular-touch.js

Resulting Readme says:
# test

This project is generated with [yo angular generator](https://github.com/yeoman/generator-angular)
version 1.0.0.

## Build & development

Run `grunt` for building and `grunt serve` for preview.

## Testing

Running `grunt test` will run the unit tests with karma.

Running tests results in:
Jacks-Mac-mini:test JackHayward$ npm test

> test@0.0.0 test /Users/JackHayward/Documents/Development/firebase/test
> grunt test

Running "clean:server" (clean) task
>> 0 paths cleaned.

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "concurrent:test" (concurrent) task
    Warning: Running "compass:dist" (compass) task
    Warning: Command failed: /bin/sh -c compass --version
    /bin/sh: compass: command not found
     Use --force to continue.

    Aborted due to warnings.

Activity

  1. changed the title [-]test is not working[/-] [+]"test" is not working after new install[/+] on Nov 14, 2015
  2. michaeljseiter commented on Nov 25, 2015

    @michaeljseiter

    @jakhay Looks like either Compass is not installed or perhaps isn't pathed properly. Alternatively you could run the generator without Sass/Compass.

  3. jakhay commented on Nov 26, 2015

    @jakhay
    Author

    Looks like either Compass is not installed or perhaps isn't pathed properly.

    Right - but shouldn't Compass be installed automatically when I install angular generator? Doesn't that mean there's a bug here? And how would I correct this?
    I see a repo for compass here: https://github.com/Compass/compass
    But I'm not sure if this is the correct compass repo or where it would need to be installed in order to make this work.

    Alternatively you could run the generator without Sass/Compass.

    The code is working fine - it's only the tests that are failing to run, so I'm not sure how this suggestion would help - or even how to implement it. I think the compass test is hardwired into the "grunt test" command - is there a way to remove the compass test?

  4. katowulf commented on Nov 26, 2015

    @katowulf

    This isn't generator angular. This is generator-angularfire.

    Compass must be installed and is not a dependency we manage. Answer no if you don't have it installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions