🐛 [BUG]最新版本v1.1.12中使用了"@mapbox/geojsonhint": "^3.3.0",这个包了另一个@gerhobbelt/nomnom引起报错
- Dominant language
- TypeScript
- Stars
- 64
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Bug description

@mapbox/geojsonhint项目已经有用户提交issue👉 https://github.com/mapbox/geojsonhint/issues/96
在2023年11月@mapbox/geojsonhint为项目新增了一个名为@gerhobbelt/nomnom的依赖包。该包在package.json中的指定方式使用的是GitHub地址github:gerhobbelt/nomnom,而不是一个版本号。这告诉包管理器(比如npm或Yarn)要直接从指定的GitHub仓库下载包,而不是从npm仓库下载。

存在的问题:在安装项目时,包管理器尝试访问GitHub以下载@gerhobbelt/nomnom包。这要求安装环境能够访问互联网。在正常情况下这通常没有问题,但在那些没有互联网访问权限、只能从registry.npmjs.org的镜像上安装的环境中,安装会因为无法访问GitHub而失败。
项目build时会失败

我会降 l7editor 版本到 1.1.11 即可使用
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting package.json and the dependency path from @mapbox/geojsonhint to @gerhobbelt/nomnom. Reproduce the build or installation failure in an environment using only an npm registry mirror, then verify that installation and the project build complete without requiring direct GitHub access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100