Scss compiler error: fs.existsSync is not a function


#1

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.


#2

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

See: https://nodejs.org/api/fs.html#fs_fs_existssync_path