E
E
Erl2020-11-05 12:31:34
Vue.js
Erl, 2020-11-05 12:31:34

How to debug such errors?

Presumably the problem appeared after upgrading nodejs from 12.x to 14.15
5fa3c5834d3f1717976257.png

spoiler
ERROR  undefined                                                                                                                                                                       17:26:14  

  at fn (node_modules/ky/umd.js:321:0)
  at processTicksAndRejections (internal/process/task_queues.js:93:5)
  at async Ky._retry (node_modules/ky/umd.js:412:0)
  at async HTTP.module.exports../.nuxt/http.js.HTTP.<computed> [as get] (.nuxt/http.js:92:0)
  at async asyncData (index.vue:24:0)

I just do not even understand where to dig?
the only option is to roll back to version 12?
this is strapi-starter-nuxt-blog

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-11-05
@Aleksandr-JS-Developer

The dependency in the "ky" folder in the nodemodules does not seem to support the new syntax.
Find a doc for this "ky" and read which version of node it/it/it integrates with.
It is possible that "ky" does not support the new node. Then you have to either roll back the node, or abandon this module.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question