You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.The text was updated successfully, but these errors were encountered: