Skip to content

compile fail with @import #119

Closed
Closed

Description

@otarim

i create a repository to show this problem happen https://github.com/otarim/troubleshoot, it seems that sass-loader case this issue

1). run webpack --progress command and it compile fails, the stdout stay at

http://segmentfault.com/img/bVmHkV

2). use another entry file works.js and it passed

http://segmentfault.com/img/bVmHkX

3). i change sass-loader to less-loader and use less syntax,it works too

my node version is v0.12.2 working on mac os 10.10.1,thanks for your help:-)

Activity

  1. jorrit commented on Jul 14, 2015

    @jorrit
    Contributor

    It seems that this setup creates too many async operations, exhausting the internal libuv threads. For example, the following works:

    UV_THREADPOOL_SIZE=10 npm start

    No idea how this can be fixed in sass-loader.

  2. otarim commented on Jul 14, 2015

    @otarim
    Author

    @jorrit tks bro~your solution works for me 😄

  3. jorrit commented on Jul 14, 2015

    @jorrit
    Contributor

    Seems the same as sass/node-sass#857.

  4. jorrit commented on Jul 14, 2015

    @jorrit
    Contributor

    Maybe sass-loader can limit the number of outstanding sass render calls to UV_THREADPOOL_SIZE - 1 via the async module or something (no idea if that makes sense).
    At least let's write down this UV_THREADPOOL_SIZE workaround somewhere in the README.

  5. otarim commented on Jul 14, 2015

    @otarim
    Author

    @jorrit agree~i spend all day working on this issue,until i replace less-loader with sass and it works, Otherwise I would have thought it's my wrong way usage,hope the author write down this workaround into README that someone else will not make the same mistake

  6. hoosin commented on Jul 15, 2015

    @hoosin

    @otarim tks,I'll never make the same mistake again.

  7. jorrit commented on Jul 17, 2015

    @jorrit
    Contributor

    This is also a duplicate of #100, by the way. Let's close this issue.

    Closes #119

  8. jhnns commented on Aug 6, 2015

    @jhnns
    Contributor

    Fixed with 2.0.0

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

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions