kmesh-net / kmesh-net/website

Netlify Build Fails Due to Private Git Dependency (plugin-image-zoom)

Open
#248 9 comments 0 reactions 3 assignees Claimed by @MeloveGupta View on GitHub
good first issue
Dominant language
JavaScript
Stars
12
Forks
75
PR merge metrics
No merged PRs in 30d

Description

**Task description**:

- The Netlify build is currently failing during the dependency installation step with the following error:

```
Host key verification failed.
fatal: Could not read from remote repository.
...
Command: git ls-remote --tags --heads ssh://git@github.com/flexanalytics/plugin-image-zoom.git
```

- This happens because the project depends on a private GitHub repository via SSH in package.json. However, open-source projects must use only publicly accessible dependencies so that anyone (including CI services like Netlify) can build the site without special access.

- The goal of this task is to replace the private SSH dependency with the publicly available npm package [docusaurus-plugin-image-zoom ](https://www.npmjs.com/package/docusaurus-plugin-image-zoom).

**Solution**:
- Remove the current private dependency (likely listed as "plugin-image-zoom": "git+ssh://..." in package.json).
- Install the official public plugin:

```
yarn remove plugin-image-zoom
yarn add docusaurus-plugin-image-zoom
```

- Update docusaurus.config.js to reference the plugin by its full name:

```
plugins: [
// ...
"docusaurus-plugin-image-zoom", // use full package name
// ...
]
```

- Commit the updated package.json and yarn.lock.

**Who can join or take the task**:

The good first issue is intended for `first-time contributors` to get started on his/her contributor journey.

After a contributor has successfully completed 1-2 good first issue's,
they should be ready to move on to `help wanted` items, saving the remaining `good first issue` for other new contributors.

**How to join or take the task**:

Just reply on the issue with the message `/assign` in a separate line.

Then, the issue will be assigned to you.

**How to ask for help**:

If you need help or have questions, please feel free to ask on this issue.
The issue author or other members of the community will guide you through the contribution process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.