Skip to content

Commit 3d3db53

Browse files
committed
chore: update docs and upgrade deps
1 parent 66fab3c commit 3d3db53

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ After running the command, open `http://127.0.0.1:8080` in your browser, enter y
2929

3030
> Note: 中国用户因为 Docker Hub 被墙,如果不能拉取镜像,可以从 [Github Releases](https://github.com/zanminkian/web-ide/releases) 页面下载镜像文件,然后使用 `docker load -i xxx.tgz` 命令加载镜像。如果 Github Releases 页面下载也很慢,推荐:`https://ghp.ci`
3131
32-
> Note: If you are using macOS, mounting volume will be unstable to use pnpm. Check [this issue](https://github.com/pnpm/pnpm/issues/5803). The workaround is setting the container file sharing to `gRPC FUSE` implementation. Check [this comment](https://github.com/pnpm/pnpm/issues/5803#issuecomment-1694241533).
33-
3432
## Advanced Usage
3533

3634
- Add more CLI options for `web-ide` at the end of the command.
@@ -64,6 +62,14 @@ A: Probably, the remote server does not support the `rsa` algorithm due to secur
6462
- Generate your SSH key using the `ed25519` algorithm, with `ssh-keygen -t ed25519`.
6563
- Add `HostkeyAlgorithms +ssh-rsa\n PubkeyAcceptedAlgorithms +ssh-rsa\n PubkeyAcceptedKeyTypes +ssh-rsa` to `~/.ssh/config`. For example: `Hostname [email protected]\n HostkeyAlgorithms +ssh-rsa\n PubkeyAcceptedAlgorithms +ssh-rsa\n PubkeyAcceptedKeyTypes +ssh-rsa\n`
6664

65+
> Q: Running `pnpm install` failed with `ENOENT: no such file or directory`.
66+
67+
A: If you are using macOS, mounting volume in `virtiofs` mount type will be unstable to use pnpm. Here are 3 workarounds:
68+
69+
- Set the container file sharing to `gRPC FUSE` implementation. Refer [this comment](https://github.com/pnpm/pnpm/issues/5803#issuecomment-1694241533).
70+
- Add `store-dir=${HOME}/.local/share/pnpm/store` to the `~/.npmrc` file.
71+
- Add `ackage-import-method=clone-or-copy` to the `~/.npmrc` file.
72+
6773
## Show your support
6874

6975
Give a ⭐️ if this project helped you!

doc/refresh.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ touch $HOME/web-ide-root/.zsh_history
77
docker stop web-ide
88
docker container rm -v web-ide
99
docker run -itd \
10-
-p 3000:3000 \
11-
-p 8080:8080 \
10+
--network host \
1211
-e PASSWORD="MY_PASSWORD" \
1312
-e WI_SSH_ID_ED25519_PUB="MY_PUBLICK_KEY" \
1413
-e WI_SSH_ID_ED25519="MY_PRIVATE_KEY" \

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"test": "node --test \"**/*.spec.js\" && fenge"
1717
},
1818
"devDependencies": {
19-
"@changesets/cli": "2.28.0",
20-
"@types/node": "22.13.4",
21-
"fenge": "0.5.1"
19+
"@changesets/cli": "2.28.1",
20+
"@types/node": "22.13.10",
21+
"fenge": "0.6.0"
2222
},
23-
"packageManager": "pnpm@10.3.0",
23+
"packageManager": "pnpm@10.6.2",
2424
"engines": {
2525
"node": ">=22.14.0",
2626
"pnpm": "^10.0.0"

0 commit comments

Comments
 (0)