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

How to use node packages? #1

Open
JanMalch opened this issue Oct 26, 2019 · 1 comment
Open

How to use node packages? #1

JanMalch opened this issue Oct 26, 2019 · 1 comment

Comments

@JanMalch
Copy link

How to use node packages so I can use the fs package for example? I keep getting errors like "require is not defined".
When using rollup-plugin-node-builtins then I get an error that __dirname is not defined.

@me-y
Copy link

me-y commented May 30, 2020

Hello I have the same issue trying to use electron-store package. I get this "require is not defined" error and I am not experienced enough to figure out how to call this.
Thanks for helping
Regards

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