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

"test" is not working after new install #60

Open
jakhay opened this issue Nov 14, 2015 · 3 comments
Open

"test" is not working after new install #60

jakhay opened this issue Nov 14, 2015 · 3 comments

Comments

@jakhay
Copy link

jakhay commented Nov 14, 2015

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

> [email protected] 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.
@jakhay jakhay changed the title test is not working "test" is not working after new install Nov 14, 2015
@justinseiter
Copy link

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

@jakhay
Copy link
Author

jakhay commented Nov 26, 2015

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?

@katowulf
Copy link

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

@katowulf katowulf reopened this Nov 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants