Introducing CrudHunt:Open-source Full-stack CRUDs for Next.js by KeenThemes
Browse CrudHunt

VueJs Demo7 throws login error.


I built the VueJs Demo7 (Metornic metronic_v8.0.31) app with npm install --force. If I do with npm install, it gives me a big list of dependency errors mostly for the Vue version. I use 3.2.29 while the project has a dependency of 3.1.19. Somehow the project runs with --force option. But when I try to sign-in with the demo username and password, I see runtime errors in dev console. And the logic request fails with HTTP 405 Method Not Allowed error from the server at the below URL.
https://preview.keenthemes.com/metronic8/laravel/api/login?email=admin@demo.com&password=demo
And then the JS fails with the below error:
Uncaught (in promise) TypeError: can't convert undefined to object
onSubmitLogin SignIn.vue:61
promise callback*onSubmitLogin/< SignIn.vue:60
setTimeout handler*onSubmitLogin SignIn.vue:42
submissionHandler vee-validate.esm.js:2119
promise callback*submissionHandler vee-validate.esm.js:2117
callWithErrorHandling runtime-core.esm-bundler.js:155
callWithAsyncErrorHandling runtime-core.esm-bundler.js:164
invoker runtime-dom.esm-bundler.js:366
addEventListener runtime-dom.esm-bundler.js:316
patchEvent runtime-dom.esm-bundler.js:334
patchProp runtime-dom.esm-bundler.js:398
mountElement runtime-core.esm-bundler.js:4603
processElement runtime-core.esm-bundler.js:4566
patch runtime-core.esm-bundler.js:4486
componentUpdateFn runtime-core.esm-bundler.js:5037
run reactivity.esm-bundler.js:160
setupRenderEffect runtime-core.esm-bundler.js:5156
mountComponent runtime-core.esm-bundler.js:4939
processComponent runtime-core.esm-bundler.js:4897
patch runtime-core.esm-bundler.js:4489
mountChildren runtime-core.esm-bundler.js:4685
mountElement runtime-core.esm-bundler.js:4594
processElement runtime-core.esm-bundler.js:4566
patch runtime-core.esm-bundler.js:4486
mountChildren runtime-core.esm-bundler.js:4685
processFragment runtime-core.esm-bundler.js:4856
patch runtime-core.esm-bundler.js:4482
componentUpdateFn runtime-core.esm-bundler.js:5037
run reactivity.esm-bundler.js:160


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (0)