Scss compiler error: fs.existsSync is not a function

Hi guys,

I am following this guide:
https://www.angular-meteor.com/tutorials/socially/angular2/user-accounts-authentication-and-permissions

But on the step to add .scss file I am getting this error in meteor:

Errors prevented startup:

While processing files with angular2-compilers (for target web.browser):
/client/main.scss: Scss compiler error: fs.existsSync is not a function


Your application has errors. Waiting for file change.

How can I get this bug fixed? I searched everywhere on Google and Forum but can’t find any answer for the fix.

Someone needs to update this package because fs.existsSync is deprecated in Node v4

See: File system | Node.js v17.2.0 Documentation