TypeError

Cannot read properties of undefined (reading 'error')

plugins/myFetch.js:16:
Object.nuxtApi [as $nuxtApi]
} else { throw new Error('Not found') } } catch (e) { // app.$toast.error(e) app.$toast.error('An error occurred') throw new Error(e) } } inject('nuxtApi', nuxtApi) }
node:internal/process/task_queues:96:5
processTicksAndRejections
pages/en/products/_id.vue:58:
async asyncData
content: this.products_item.seo_keywords ? this.products_item.seo_keywords.trim() : this.details_txt }], link: [ { rel: 'canonical', href: this.routepath } ], script: [ getBreadcrumbStructScript('products', 'index', (items) => { items.push({ title: this.products_item.title, url: DOMAIN + '/products/' + this.id })
.nuxt/server.js:259:
async module.exports.__webpack_exports__.default
if (!Components.length) { return render404Page() } // Call asyncData & fetch hooks on components matched by the route. const asyncDatas = await Promise.all(Components.map((Component) => { const promises = [] // Call asyncData(context) if (Component.options.asyncData && typeof Component.options.asyncData === 'function') { const promise = promisify(Component.options.asyncData, app.context)

Request Details

URI /en/products/tmec-59
Request Method GET
HTTP Version 1.0
Connection close

Headers

HOST www.hsifue.cn
USER-AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
X-FORWARDED-FOR 122.10.29.47, 100.122.21.144, 8.219.185.153, 100.127.238.58
X-REAL-IP 100.127.238.58
REMOTEIP 8.219.185.153
ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
ACCEPT-LANGUAGE zh-CN,zh;q=0.9,en;q=0.8
ACCEPT-ENCODING gzip, deflate
UPGRADE-INSECURE-REQUESTS 1

Cookies