Wappler 5 Beta 1 - Cannot Find Module issue, when using ftp

hi @George , I installed wappler 5 beta 1 and it looks amazing. It seems clear that you have indeed made a very good improvement.

However, when I save the file and use the check button, I get this error. I have installed 2 times and the problem still persists. Is there anything else I can do?

Error: Cannot find module './lib/pty.js' Require stack: - C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\Shared\DMXzone\dmxAppCreator\UI\lib\lftp.js - C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\Shared\DMXzone\dmxAppCreator\UI\index.htm at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) at Function.i._resolveFilename (node:electron/js2c/renderer_init:33:1095) at Module._load (node:internal/modules/cjs/loader:785:27) at Function.c._load (node:electron/js2c/asar_bundle:5:13343) at Function.i._load (node:electron/js2c/renderer_init:33:356) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\Shared\DMXzone\dmxAppCreator\UI\lib\lftp.js:8:102) at Object.<anonymous> (C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\Shared\DMXzone\dmxAppCreator\UI\lib\lftp.js:10:3) at Module._compile (node:internal/modules/cjs/loader:1116:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at Function.c._load (node:electron/js2c/asar_bundle:5:13343) at Function.i._load (node:electron/js2c/renderer_init:33:356) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) at w2editor_ftp_manager.onClick (file:///C:/Users/Serhat/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/w2editor_ftp_manager.js:8:4800) at w2editor_ftp_manager.trigger (file:///C:/Users/Serhat/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:36150) at w2editor_ftp_manager.click (file:///C:/Users/Serhat/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:445662) at w2editor_ftp_manager.<anonymous> (file:///C:/Users/Serhat/AppData/Local/Wappler%20Beta/resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:449533) at HTMLDivElement.dispatch (C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\node_modules\jquery\dist\jquery.js:5430:27) at HTMLDivElement.elemData.handle (C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\node_modules\jquery\dist\jquery.js:5234:28) at HTMLDivElement.sentryWrapped (C:\Users\Serhat\AppData\Local\Wappler Beta\resources\app\node_modules\@sentry\browser\dist\helpers.js:75:23)

Ah seems there is a small path problem with the ftp manager.

Will fix it in the next beta

2 Likes

@s.alpaslan beat me to it. I’ve just had the same issue.

Mac M1

@George it seems fixed on 5.0.0 beta 2… thanks .

Solved in Wappler 5 beta 2