Skip to content

[get started] Error - Multiple children were passed to <Link> #267

Closed

Description

@cs2jang

Describe the bug

pc run
....
dev
next dev

error - node_modules\next\dist\client\link.js (216:22) @ Object.LinkComponent [as render]
error - Error: Multiple children were passed to with href of https://pynecone.io/docs/getting-started/introduction but only one child is supported https://nextjs.org/docs/messages/link-multiple-children
at Object.LinkComponent [as render] (webpack-internal:///./node_modules/next/dist/client/link.js:216:23)

[Solved]

  1. find index.js file (go to .web folder --> pages folder)

  2. add <dev></dev> tag into <Link>(here)</Link>

image

image

  1. rerun

** Specifics (please complete the following information):**

  • Python Version: Python 3.7.7
  • Pynecone Version: pynecone-io 0.1.12
  • OS: Windows 10

Activity

  1. FHU-yezi commented on Jan 16, 2023

    @FHU-yezi
    Contributor

    Please downgrade to v0.1.11 and tell us if this issue still exist. Maybe one of our new features caused this problem.

  2. Alek99 commented on Jan 16, 2023

    @Alek99
    Member

    We still are working on windows support that seems to be the issue here. In the mean time if while we are fixing this windows linux subsystems will work with pynecone

  3. linked a pull request that will close this issueAdd windows support #290on Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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