Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

run ios & doctor TypeError: Converting circular structure to JSON #546

@dseeker

Description

@dseeker

Makes sure these boxes are checked befor submitting your issue - thank you!

  • If you encounter any problems using the tool, please check if there has a new version to update(Run weex update [pluginname]@latest).
  • Check the FAQ, make sure there have not the same issue.

Your development environment

  • Check weex-toolkit verison (Run weex -v)
2.0.0-beta.26 (Core 2.0.0-beta.26)
- @weex-cli/generator : v2.0.0-beta.16
- @weex-cli/doctor : v2.0.0-beta.20
- @weex-cli/lint : v2.0.0-beta.2
- @weex-cli/debug : v2.0.0-beta.26
- @weex-cli/compile : v2.0.0-beta.24
- @weex-cli/run : v2.0.0-beta.21
- @weex-cli/device : v2.0.0-beta.2
- @weex-cli/build : v2.0.0-beta.15
- @weex-cli/plugin : v2.0.0-beta.22

  • Detect what's wrong with your environment (Run weex doctor)
Time: 10:20:51, verify if there is an update
⠏ TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at <anonymous> (/Users/dseeker/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.26@@weex-cli/core/src/cli/cli.ts:540:46)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/dseeker/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.26@@weex-cli/core/lib/cli/cli.js:4:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  • Which platform (Win/Mac/Ubuntu..)
    macOS 10.13.6

The key error stack message.

Time: 10:20:51, verify if there is an update
⠏ TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at <anonymous> (/Users/dseeker/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.26@@weex-cli/core/src/cli/cli.ts:540:46)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/dseeker/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.26@@weex-cli/core/lib/cli/cli.js:4:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

Steps to reproduce the problem.(Maybe a dotwe link)

Unsure. Was working until last week. npm run web still works but npm run ios is stuck on this error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions