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

Grunt is failing locally #helpwanted #10

Open
juarezpaf opened this issue Sep 6, 2015 · 6 comments
Open

Grunt is failing locally #helpwanted #10

juarezpaf opened this issue Sep 6, 2015 · 6 comments

Comments

@juarezpaf
Copy link

I followed every step to try to run zeppelin-grunt locally, but when I run grunt task I get these errors:

Running "serve" task

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

Running "jekyll:server" (jekyll) task
`jekyll build --source app --destination .jekyll/zeppelin-grunt --config _config.yml` was initiated.


Jekyll output:
Configuration file: _config.yml
            Source: app
       Destination: .jekyll/zeppelin-grunt
      Generating... 

Building site for default language: "en" to: /Users/juarezpaf/Playground/zeppelin-grunt/.jekyll/zeppelin-grunt
Loading translation from file /Users/juarezpaf/Playground/zeppelin-grunt/app/_i18n/en.yml
Missing i18n key: en:Hello World!
Using translation '' from default language: en
Missing i18n key: en:Hello World!
Using translation '' from default language: en
Missing i18n key: en:Call for Papers
Using translation '' from default language: en
Missing i18n key: en:Call for Papers
Using translation '' from default language: en
Missing i18n key: en:page.title
Using translation '' from default language: en
Building site for language: "uk" to: /Users/juarezpaf/Playground/zeppelin-grunt/.jekyll/zeppelin-grunt/uk
Loading translation from file /Users/juarezpaf/Playground/zeppelin-grunt/app/_i18n/uk.yml
Missing i18n key: uk:Hello World!
Using translation '' from default language: en
Missing i18n key: uk:Hello World!
Using translation '' from default language: en
Missing i18n key: uk:Call for Papers
Using translation '' from default language: en
Missing i18n key: uk:Call for Papers
Using translation '' from default language: en
Missing i18n key: uk:page.title
Using translation '' from default language: en
Build complete
                    done.
 Auto-regeneration: disabled. Use --watch to enable.

Running "copy:server" (copy) task
Created 12 directories, copied 74 files

Running "sass:server" (sass) task
>> file to import not found or unreadable: waves
>> Current dir: /Users/juarezpaf/Playground/zeppelin-grunt/app/_assets/scss/
>>   Line 8  Column 9  app/_assets/scss/main.scss
Warning:  Use --force to continue.

Aborted due to warnings.
@ozasadnyy
Copy link
Member

@juarezpaf it seems like Grunt can't find Waves.scss.
Have you run bower install?

@juarezpaf
Copy link
Author

@ozasadnyy Yeah! I did it. Actually I tried to run this into my friend's laptop running Windows and it's okay, but here in Mac its failing even after bundle install. npm install & bower install.
I tried to redo the process several times with no success.

zeppelin-grunt

@ozasadnyy
Copy link
Member

Please give me link to your repository.

@juarezpaf
Copy link
Author

@dennisg
Copy link

dennisg commented Sep 23, 2015

it seems that currently the set of installs result in bower install installing files into components instead of bower_components. That said, even if files are installed in bower_components (I've renamed them) they will not be found due to the fact that Gruntfile.sass.cwd is set to app/_assets/scss clearly not where the bower_components can be found

This seems an issues with setting up bower. I too did exactly what was required...

Then, when I moved the automatically generate app/components to /bower_components/
it all started working...

so, create a .bowerrc file with:

{ "directory": "bower_components/", "analytics": false }

and you are good to go ! (well... I am ;-) )

grunt --version
grunt-cli v0.1.13
grunt v0.4.5

bower --version
1.5.2

sass --version
Sass 3.4.18 (Selective Steve)

npm --version
2.11.3

@dennisg
Copy link

dennisg commented Sep 23, 2015

ah, it seems that actually there was a .bowerrc file in some upper folder that pre-configured the location bower spews its files into. So, not a bower version issue just a configuration issue. adding the .bowerrc file makes it more self-contained though

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