Invalid href passed to router error after fresh installed create-next-app

后端 未结 6 564
盖世英雄少女心
盖世英雄少女心 2021-02-05 18:02

After installed nextjs app on my local machine using create-next-app I get this error in console Invalid href passed to router.

Does anyone kno

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-05 18:43

    Removing the protocol http or https from the external url fixes this issue

    example https://stackoverflow.com/ should be //stackoverflow.com/

提交回复
热议问题