Illegal return statement when using "greenworks.getImageRGBA(handle)"
TheRealDannyyy opened this issue · comments
TheRealDannyyy commented
I'm trying to fetch a user's avatar based on the code given in the wiki. I've included the "Jimp" NPM files but the NWjs browser console just returns the error: Illegal return statement.
Does anyone else have this problem or could help me out with this please? Perhaps there is a more elegant way to do this without Jimp? Would appreciate any help!