本地运行出错
Open
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 274
- PR merge metrics
- No merged PRs in 30d
Description
原因:
.npmrc 文件配置 electron-custom-dir=10.1.5
但是运行yarn run intall-deps 会去找https://npm.taobao.org/mirrors/electron/10.1.5/electron-v16.0.4-darwin-x64.zip, 很显然10.1.5下面是没有16.0.4版本的
解决办法:
1、修改.npmrc
2、明确package.json对electron的依赖
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect .npmrc and package.json to compare electron-custom-dir with the declared Electron version. Run yarn run intall-deps after making the configuration and dependency versions consistent, and confirm it downloads the expected Electron archive successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100