简体   繁体   中英

Gulp Ruby Sass - RegexpError: failed to allocate memory :/\n.*/

I have installed Gulp on my project and was working perfectly.

Today when I run gulp build the project it is giving error: gulp plugin ruby sass.

The following message appears:

Error in plugin 36mgulp-ruby-sass-39m 

RegexpError: failed to allocated memory: /\n.*/

*see the image below with the error:

在此处输入图片说明

Any ideas?

Please help me, thank you!

What was causing this was a problem within the file .sass

Inside the .sass i wrote a review that used accent on the letter "a". Each time I saved the file during development sass did not interpret the accent and then generated special characters:

Oo £ ├ÂÔö £ ├éÔö¼├║├ö├Â┬ú 

The problem was that many, many special characters were generated by loading the file and others can not even be compiled. I realized this when a "trial and error" removing file by file.

So stay tuned to special characters with accents and comments within your .sass file, it may generate memory overload problem because of the sheer amount of characters that are generated each time the document is saved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM