dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

TypeError: t1.call$1 is not a function

Open MahmudulHassan5809 opened this issue 2 years ago • 7 comments

i am facing this problem . image Any help . Thanks

MahmudulHassan5809 avatar Aug 10 '22 07:08 MahmudulHassan5809

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?

nex3 avatar Aug 11 '22 01:08 nex3

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

njalcock avatar Nov 14 '22 14:11 njalcock

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

nex3 avatar Nov 14 '22 21:11 nex3

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

njalcock avatar Nov 15 '22 07:11 njalcock

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.

nex3 avatar Nov 15 '22 23:11 nex3

$ 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.

LionyxML avatar Aug 14 '23 22:08 LionyxML

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.

nex3 avatar Nov 17 '23 22:11 nex3