wechat-miniprogram / wechat-miniprogram/miniprogram-demo
记录npm run init / eslint-config-wxapp 0.5.2出错解决方法
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.2k
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 2
Description
1.修改配置:pageage.json里的 "@tencent/eslint-config-wxapp": "^0.5.2" 改为 "eslint-config-wxapp": "^1.0.0"
2.npm install --legacy-peer-deps
3.npm run init --legacy-peer-deps
4.完成上述步骤后,使用微信开发者工具,点击【工具-构建npm】
感谢评论区各位大佬,内容都取自issues区,在这不一一列出,希望后面遇到相同问题的朋友可以参考
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json and review the documented eslint-config-wxapp version change. Follow the listed npm install --legacy-peer-deps and npm run init --legacy-peer-deps commands, then check the WeChat Developer Tools build-npm step. Done means the workaround is accurate, reproducible, and clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- documentation, tooling
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100