wechat-miniprogram / miniprogram-demo

微信小程序组件 / API / 云开发示例
https://developers.weixin.qq.com/miniprogram/dev/index.html
MIT License
6.7k stars 2.14k forks source link

按照read me ,运行第一行 npm run init 就报错 #141

Closed yangshuang-developer closed 5 months ago

yangshuang-developer commented 5 months ago

node version :v20.14.0 LTS

翻了半天 issue,发现后面要加 --legacy-peer-deps

然后继续执行:\miniprogram-demo> npm run init --legacy-peer-deps 仍然报错: image

继续修改: image

执行成功