Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs.readFileSync is not a function #4

Open
klst-speterson opened this issue Mar 16, 2017 · 1 comment
Open

fs.readFileSync is not a function #4

klst-speterson opened this issue Mar 16, 2017 · 1 comment

Comments

@klst-speterson
Copy link

Hi @Oceanswave, spo-remote-auth seems to be perfect for the project I'm working on but I'm hitting the error fs.readFileSync is not a function. I've tried to develop a work around but have been unsuccessful thus far. I've seen a number of examples of other libraries having issues with this same node file system method.

It's an Ionic (Angular) project using webpack. Forgive me if I'm missing a silly/obvious mistake.

Any thoughts?

@Oceanswave
Copy link
Member

Hi @klst-speterson usually when I encounter folks encountering that issue they're attempting to use node methods in the browser.

Here's an article that describes this:
http://stackoverflow.com/questions/37418513/readfilesync-is-not-a-function

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants