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
When using gm with meteor.js you may need to import gm in files that are used on both client and server. This way on the client you'll get an error: require(...).readFileSync is not a function even if you don't actually try to use gm.
When using
gm
with meteor.js you may need to import gm in files that are used on both client and server. This way on the client you'll get an error:require(...).readFileSync is not a function
even if you don't actually try to use gm.This comes from this code in
index.js
:fs
module on the client is an empty object which triggers an error. Can this be replaced with something like this?The text was updated successfully, but these errors were encountered: