We use modules same way as described in the documentation.
With the native build everything is OK.
But with HTML5 build we have the promlem:
ERROR:SCRIPT: Gun/gunScript.script:1: module 'Modules.AdvancedMathModule' not found:
no file 'Modules.AdvancedMathModule'
What are we doing wrong?
britzl
July 27, 2018, 7:47pm
2
Can you show the line of code where you require the module?
Also, what’s the exact name of the file and any folders?
britzl
July 30, 2018, 7:45am
4
Can you please remove the semi-colon from the end of the line? While it’s not an error in Lua our regex that detects require usage seems to not like it.
1 Like