Skip to content

如果Demo运行不起来?【2024-04-09】 #137

Open
@mozartee

Description

@mozartee

我是新手,按照官方推荐压根不能运行代码。
搜索issue,找到关键解决方案:
#125 (comment)

另外,如果是 download zip 方式,在进行到 npm run init --legacy-peer-deps 时,会报错:

...
fatal: not a git repository (or any of the parent directories): .git

继续:git init
然后在继续执行 npm run init --legacy-peer-deps,成功!

此时,项目会报错:
image

找到对应目录,删除该项即可。

接下来愉快地运行吧!!!

BTW,吐槽一下,这么大官方Demo这么多问题也是头一次见!希望大佬长点心吧,😄

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