Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mozartee opened this issue Apr 9, 2024 · 1 comment
Open

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

mozartee opened this issue Apr 9, 2024 · 1 comment

Comments

@mozartee
Copy link

mozartee commented Apr 9, 2024

我是新手,按照官方推荐压根不能运行代码。
搜索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这么多问题也是头一次见!希望大佬长点心吧,😄

@xieerduos
Copy link

找到对应目录,删除该项即可。
miniprogram/app.json: 未找到 ["subpackages"][5]["pages"][0] 对应的 packageSkylineExamples/examples/address-book/pages/index/index.wxml 文件

可以按照以下图的方式删除,可以修复 miniprogram/app.json: 未找到 ["subpackages"][5]["pages"][0] 对应的 packageSkylineExamples/examples/address-book/pages/index/index.wxml 文件 ,感谢楼上的老铁提供的方案。

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants