sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.9k stars 352 forks source link

TypeError: t1.call$1 is not a function #1774

Open MahmudulHassan5809 opened 2 years ago

MahmudulHassan5809 commented 2 years ago

i am facing this problem . image Any help . Thanks

nex3 commented 2 years ago

This definitely looks like a bug, but there's no way for us to help without more information. What version of Sass are you using? What's the smallest stylesheet that still produces this error message?

njalcock commented 1 year ago

I was facing this problem on Ubuntu 22.04. It seems to be caused in large projects hitting an upper limit of file watchers. To fix, I did the following:

$ echo fs.inotify.max_user_watches=393210 \
| sudo tee -a /etc/sysctl.conf \
&& sudo sysctl -p
nex3 commented 1 year ago

@njalcock can you find a way to reproduce it consistently?

njalcock commented 1 year ago

I'm not sure how. I can say that in our case we are running v1.50.1.

nex3 commented 1 year ago

This looks like it's probably an issue with the chokidar library that we use for filesystem watching on Node, but without a consistent repro it's hard to say for sure.

LionyxML commented 1 year ago
$ echo fs.inotify.max_user_watches=393210 \
| sudo tee -a /etc/sysctl.conf \
&& sudo sysctl -p

Aug 2023. This just saved me on Debian 12.

nex3 commented 10 months ago

I see this issue is still opened...any closure?

As I said in all of my comments above, we cannot do anything here until we have a consistent reproduction.

That said: you appear to be running Ruby Sass 3.7.4, which is not only not this repository, but has been end-of-life for many years.