We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Good day.
I've stumbled over runtime exception in stylus-shell.js.
stylus-shell.js
NOTE: this issue reproduceable only in 5-10% developers workstations, but in 100% cases on this 5-10% workstations.
So, let's look at log:
$ sbt [proj2] $ assets [info] Stylus compiling on 1 source(s) [error] [TypeError: Object #<Renderer> has no method 'deps'] [info] [success] Total time: 1 s, completed Jun 27, 2014 3:25:28 PM [proj2] $ ^D $ ls -R target/web/stylus target/web/stylus/main/stylesheets: main.css
As you can see, sbt-stylus printed error, printed "success" and successfully compiled .styl sources.
.styl
Let's look at stylus-shell.js:
}).then(function(result) { return { source: input, result: { filesRead: [input].concat(result.style.deps()), filesWritten: [output] } };
As you can see, dangerous .deps() method is called here, not in stylus.
Problem goes away, if I replace .concat(result.style.deps()), with ,:
.concat(result.style.deps()),
,
}).then(function(result) { return { source: input, result: { filesRead: [input], filesWritten: [output] } };
This is quick and dirty solution, but it works. Hope, there will be better solution...
The text was updated successfully, but these errors were encountered:
I'm not sure about this one. Given:
https://github.com/LearnBoost/stylus/blob/master/bin/stylus#L574
It appears as though calling .deps should be fine. How could it be otherwise?
.deps
Sorry, something went wrong.
Pull requests are welcome!
No branches or pull requests
Good day.
I've stumbled over runtime exception in
stylus-shell.js
.NOTE: this issue reproduceable only in 5-10% developers workstations, but in 100% cases on this 5-10% workstations.
So, let's look at log:
As you can see, sbt-stylus printed error, printed "success" and successfully compiled
.styl
sources.Let's look at stylus-shell.js:
As you can see, dangerous .deps() method is called here, not in stylus.
Problem goes away, if I replace
.concat(result.style.deps()),
with,
:This is quick and dirty solution, but it works. Hope, there will be better solution...
The text was updated successfully, but these errors were encountered: