Hi all,
I recently released an Achievement plugin that needs to write info on a JSON. Everything is great until the game is distribuited on PC but I got report from a dev that it crashes if web deploy is used. I tried to look into it and this is where it throw the error:
On PC it works, on web deply it says "require is not defined".
Sadly I'm not really skilled in the web deployement, does the RMMZ define another function for that?
I recently released an Achievement plugin that needs to write info on a JSON. Everything is great until the game is distribuited on PC but I got report from a dev that it crashes if web deploy is used. I tried to look into it and this is where it throw the error:
JavaScript:
const fs = require('fs');
const path = require('path')
On PC it works, on web deply it says "require is not defined".
Sadly I'm not really skilled in the web deployement, does the RMMZ define another function for that?