wechat-miniprogram / wechat-miniprogram/miniprogram-demo

下载源码后使用测试号打开报错

Open
#148 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.2k
Forks
2.2k
Avg merge
10h 34m
Merged PRs (30d)
2

Description

message: NPM packages not found. Please confirm npm packages which need to build are belong to miniprogramRoot directory. Or you may edit project.config.json's packNpmManually and packNpmRelationList
appid: wx39e4e1157a1063c9
openid: o6zAJs_7qWzTQU6R6m9zAOm392KE
ideVersion: 1.06.2405020
osType: win32-x64
time: 2024-08-07 18:46:14

报错信息见上,因为报错信息和已有的issue一致,所以采用
image
上图的方法,结果在构建npm时有了新的报错。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported NPM packaging error and inspect project.config.json, especially miniprogramRoot, packNpmManually, and packNpmRelationList. Reproduce the build using the supplied project and WeChat IDE context, then capture the missing new error details and confirm that the project opens without the NPM packages error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.