My api is working just fine but for some reason, the /ui is not working.
I get a DOMException in the console:
Uncaught DOMException: Failed to set the ‘size’ property on ‘HTMLInputElement’: The value provided is 0, which is an invalid size.
at _e (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:6985)
at L.fn (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:6460)
at L.run (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:2501)
at http://localhost:62069/js/petite-vue.js?vfx=6.02:1:14455
at effect (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:14503)
at ye (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:6368)
at Ye (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:13937)
at Xe (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:13871)
at Ue (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:13175)
at new rt (http://localhost:62069/js/petite-vue.js?vfx=6.02:1:15383)
The Network calls look ok to me.
My AppHost has:
Plugins.Add(new AuthFeature(() => new AuthUserSession(),
new IAuthProvider[] { new ApiKeyAuthProvider(AppSettings) { RequireSecureConnection = false }, new CredentialsAuthProvider(AppSettings) }));
Plugins.Add(new RegistrationFeature());
Plugins.Add(new AdminUsersFeature());
I am using SS6.0.2 (upgraded from 5), .Net 4.7.2 and running locally under IISExpress.
Using your .Net Framework Web Template, the /ui works fine.
I can’t figure what could be the difference. In my log, I am getting this warning
ServiceStack.Serialization.StringMapTypeDeserializer PID(12832) (11) [Warning] Property '"vfx"' does not exist on type '"ServiceStack.NativeTypes.TypesCommonJs"'
Could it be related?