Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail on grunt build #716

Closed
miton18 opened this issue Mar 8, 2016 · 11 comments
Closed

Fail on grunt build #716

miton18 opened this issue Mar 8, 2016 · 11 comments

Comments

@miton18
Copy link

miton18 commented Mar 8, 2016

  • [x ] I have searched open and closed issues for duplicates

Bug description

Fail t build the app with grunt
It's append when building SASS components

Steps to reproduce

  • grunt

Platform info

Error: Invalid CSS after ".": expected class name, was "./components/in..."
on line 1 of stylesheets/_intlTelInput.scss
from line 2 of stylesheets/options.scss
Use --trace for backtrace.

Built on windows with node 4.2.6
grunt-cli v0.1.13
grunt v0.4.5

@liliakai
Copy link
Contributor

liliakai commented Mar 9, 2016

Working fine for me on Linux Mint, same grunt/grunt-cli version. My node version is older but that probably shouldn't matter.

@2-4601
Copy link
Contributor

2-4601 commented Mar 9, 2016

Maybe there's something wrong with your sass installation. Old or incompatible version.

@miton18
Copy link
Author

miton18 commented Mar 9, 2016

Sass 3.4.21 and for you?

@haffenloher
Copy link
Contributor

This fails because stylesheets/_intlTelInput.scss is in fact a symbolic link to ../components/intl-tel-input/build/css/intlTelInput.css. Not sure how symlinks can be made to work on Windows?

As a workaround you could just copy the contents of the linked file to stylesheets/_intlTelInput.scss

@McLoo
Copy link
Contributor

McLoo commented Mar 9, 2016

The linux world symlinks don't work for windows and if needed you would have to create them new.
(LSE wrosk great)

See also #293 (comment)

@miton18
Copy link
Author

miton18 commented Mar 10, 2016

I copy file into steelsheet and it works, Thinks

@miton18 miton18 closed this as completed Mar 10, 2016
@lornemcintosh
Copy link

Workaround or not, this is still an issue on Windows. Is there any way to make this build cross-platform?

@luckcolors
Copy link

luckcolors commented Jan 13, 2017

Could this get an actual solution? I mean it shouldn't be that hard to just change the script to just copy those 2 files.

Running "concat:libtextsecuretest" (concat) task
File libtextsecure/test/test.js created.

Running "sass:stylesheets" (sass) task
Error: Invalid CSS after "...ntlTelInput.css": expected "{", was ""
        on line 1 of stylesheets/_intlTelInput.scss
        from line 2 of stylesheets/options.scss
  Use --trace for backtrace.
Warning: Exited with error code 13 Use --force to continue.

Aborted due to warnings.
Error: Invalid CSS after ".../demo/emoji.css": expected "{", was ""
        on line 1 of stylesheets/_emoji.scss
        from line 13 of stylesheets/manifest.scss
  Use --trace for backtrace.

@2-4601
Copy link
Contributor

2-4601 commented Jan 13, 2017

@luckcolors Would you like to write a PR for it?

@luckcolors
Copy link

I'm not so fond on javascript unfortunately. But i'll see what i can do.

@luckcolors
Copy link

Also can you please reopen the issue? :)

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

No branches or pull requests

7 participants