Wappler Version : 7.5.2
Operating System : win 100
Server Model: node
Database Type:
Hosting Type:
Expected behavior
A relevant error message should be displayed indicating the real cause
Actual behavior
The misleading message
{"status":"500","message":"Module xxxxxx doesn't exist" ...
How to reproduce
While this message infers that the module in in fact missing i.e. incorrectly referenced in the HJSON, a common source is actually that a module dependency is either missing or wrongly referenced rather than the module itself
For example:
const path = require('path') would generate that error if "path" was missing or the wrong version or if wrongly referenced such as const path = require('./path');
Can a more relevant/ helpful message be reported as this is causing confusion with many extension developers. This is compounded by the fact that AI has no knowledge of this "quirk" so tends to take users down a rabbit hole of no return with increasing promises of things being a "bullet proof" solution which will never work.