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

Parser error - "bootstrap": "v4.0.0-alpha.2", #449

Closed
hanzx opened this issue Jun 29, 2016 · 9 comments
Closed

Parser error - "bootstrap": "v4.0.0-alpha.2", #449

hanzx opened this issue Jun 29, 2016 · 9 comments

Comments

@hanzx
Copy link

hanzx commented Jun 29, 2016

[Leafo\ScssPhp\Exception\CompilerException]
Undefined variable $i: line: 32

@robocoder
Copy link
Collaborator

Not enough info.

@FMCorz
Copy link
Contributor

FMCorz commented Jul 12, 2016

I think that this is covered in #446.

@JumpLink
Copy link

Any workaround?

@FMCorz
Copy link
Contributor

FMCorz commented Jul 12, 2016

@JumpLink I've linked a patch on #446 if you want to give it a shot, though I would definitely not recommend using that in production. Note that other issues report some invalid compilation of Boostrap even though it does not fail.

@nicodemuz
Copy link

I'm getting the same problem in alpha 3:

[Leafo\ScssPhp\Exception\CompilerException]
  Undefined variable $i: line: 48

@batsssss
Copy link

batsssss commented Aug 14, 2016

I have exactly the same issue in alpha 3:

[Leafo\ScssPhp\Exception\CompilerException]
Undefined variable $i: line: 48

leafo/scssphp is the recommended compiler for Symfony 3. Not sure what to do if it doesn't work. Any word on when this will be fixed?

EDIT: I have also switched to an external compiler. With the added benefit that it compiles automatically on saving a file.

@o
Copy link

o commented Aug 15, 2016

Hi there,

I have same issue with latest zurb foundation
Temporarily i switched to sass compiler

assetic:
    debug:          "%kernel.debug%"
    use_controller: '%kernel.debug%'
    bundles:        ["AppBundle"]
    #java: /usr/bin/java
    workers:
        cache_busting:
            enabled: true
    filters:
        cssrewrite: ~
        closure:
            jar: "%kernel.root_dir%/Resources/java/closure-compiler-v20160713.jar"
        yui_css:
            jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.8.jar"
        sass:    ~
    ruby: "/usr/bin/ruby -Eutf-8"

@armandabric
Copy link

I've alo the issue with the alpha 4. Any idea on how fix this?

@robocoder
Copy link
Collaborator

Closing this as a dupe of #446

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

No branches or pull requests

8 participants