Skip to content

Nuxt2 axios CancelToken WARN Cannot stringify arbitrary non-POJOs CancelToken #19

@devsepnine

Description

@devsepnine

Version
nuxt: ^2.15.8
node: v16.13.2
@nuxtjs/axios : ^5.13.6
Reproduction
Sample repo : https://github.com/n0ch4t/nuxt2-non-POJOs
Code SandBox: https://codesandbox.io/s/brave-wildflower-3mvbu6?file=/pages/index.vue

Steps to reproduce
The following warn log occurs when accessing the top-level address after running the sample project.
refresh

**======================================================
WARN Cannot stringify arbitrary non-POJOs CancelToken

WARN Cannot stringify a function cancel
======================================================**

What is Expected?
Warn logs should not occur.

How can we handle this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions