Hi there
I’ve been using invoice ninja for more than a year and the update button have been working fine until now.
I have 2 installations in my hosting (in different subdomains) and today I updated them and I regret about that.
I keep getting the following errors:
Uncaught : Error: right-hand side of ‘in’ should be an object, got undefined unreachable code after return statement main.foss.dart.js:158261:1
unreachable code after return statement main.foss.dart.js:323542:1
Flutter Web Bootstrap: Auto. main.foss.dart.js:10419:28
wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type ‘text/plain’ expected ‘application/wasm’ canvaskit.js:263:398
falling back to ArrayBuffer instantiation canvaskit.js:263:438
Uncaught : Error: right-hand side of ‘in’ should be an object, got undefined
Error on second site:
unreachable code after return statement main.profile.dart.js:292442:7
Flutter Web Bootstrap: Auto. main.profile.dart.js:20439:35
wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type ‘text/plain; charset=utf-8’ expected ‘application/wasm’ canvaskit.js:43:3258
falling back to ArrayBuffer instantiation canvaskit.js:43:3298
After updating one of the site using the update button, I got a similar JS error on Firefox 119.0(64bit). Using Version 120.0.6099.71 (Official Build) snap (64-bit) I managed to reach the login screen but despite using the righ credential, I kept getting error 401 not valid credentials.
I downloaded the app for Linux. This one Is working with one of the site but the other keep giving me 401: Unauthorized • These credentials do not match our records. The credentials are correct. I’ll try to recover password
Ok, cool. I mnaged to log in using the app, however, the web app is not working
I’m using v5.7.63-L146
Any idea what to to or maybe rebuild or just deleted everything on my hosting and just keep .env and unzip https://github.com/invoiceninja/invoiceninja/releases/download/v5.7.63/invoiceninja.zip
If the web app doesn’t work, none of the client will log in
AT this stage yeah, it could be that the solution. Despite that I have deleted all my cache, I still get the same issue. I only use Firefox 119 on my laptop and Chromium Version 120.0.6099.71 (Official Build) snap (64-bit).
Both web app work fine using my android with firefox 120.1.1. However, if I toggle the desktop version for both app on my phone, I just get a graey screen.
You can try accessing the mobile version on the web by making the browser window narrow and then clearing the application cache by adding ?clear_local=true to the end of the URL.