W
W
WebDev2018-12-13 12:07:40
Vue.js
WebDev, 2018-12-13 12:07:40

Error output in nuxt?

I am migrating my app from vue-cli to nuxt.
I wrote a lot of code, tested it on a local PC and uploaded everything at once to the server. It didn't work on the server. The page gives a white screen, there are no errors in the console. And here is the following information in the pm2 logs:

ERROR  Request failed with status code 404                           11:59:11

  at createError (node_modules/axios/lib/core/createError.js:16:15)
  at settle (node_modules/axios/lib/core/settle.js:18:12)
  at Unzip.handleStreamEnd (node_modules/axios/lib/adapters/http.js:201:11)
  at emitNone (events.js:111:20)
  at Unzip.emit (events.js:208:7)
  at endReadableNT (_stream_readable.js:1064:12)
  at _combinedTickCallback (internal/process/next_tick.js:139:11)
  at process._tickDomainCallback (internal/process/next_tick.js:219:9)

And what should I do with her? She's completely useless. 404 error on what request? In which place? What kind of errors are in nuxt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nvdfxx, 2018-12-13
@nvdfxx

Most likely, on some page, the data of the axios is being pulled up, and in the catch of the get-request there is a throw at 404

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question