coder / coder/code-server

Cannot be installed in AIX 7.1

Đang mở
#7,038 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug triage
Ngôn ngữ chính
TypeScript
Star
79.3k
Fork
6.8k
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
41

Mô tả

### Is there an existing issue for this?

- [x] I have searched the existing issues

### OS/Web Information

- Web Browser: Chrome 129.0.6668.71, 64bits
- Local OS: Windows 10
- Remote OS: AIX 7.1
- Remote Architecture: ppc64
- `code-server --version`:

### Steps to Reproduce

1. Login to AIX 7.1
2. Compile node 20.18.0 source code and install it
3. Install code-server with `npm install --global --verbose code-server`

### Expected

Can be installed successfully

### Actual

```text
npm error g++-11 -shared -Wl,-bimport:/home/showcase/local/include/node/node.exp -pthread -Wl,-bbigtoc -maix64 -Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/11/pthread/ppc64:/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/11/pthread/ppc64:/opt/freeware/lib/pthread/ppc64 -Wl,--gc-sections -o Release/obj.target/argon2.node Release/obj.target/argon2/argon2_node.o Release/obj.target/argon2.a
npm error gmake: Leaving directory '/home/showcase/local/lib/node_modules/code-server/node_modules/argon2/build'
npm error ld: 0706-012 The -- flag is not recognized.
npm error ld: 0706-012 The -g flag is not recognized.
npm error ld: 0706-012 The -c flag is not recognized.
npm error ld: 0706-012 The -- flag is not recognized.
npm error collect2: error: ld returned 255 exit status
npm error gmake: *** [argon2.target.mk:153: Release/obj.target/argon2.node] Error 1
npm verbose cwd /home/sidev1
npm verbose os AIX 7.1
npm verbose node v20.18.0
npm verbose npm v10.8.2
npm verbose exit 1
npm verbose code 1
```

### Logs

As previous posted

### Screenshot/Video

_No response_

### Does this bug reproduce in native VS Code?

I did not test native VS Code

### Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

### Are you accessing code-server over a secure context?

- [x] I am using a secure context.

### Notes

There are two known issues and related PRs are being working on:

[ranisalt/node-argon2](https://github.com/ranisalt/node-argon2/issues/430) and [PR](https://github.com/ranisalt/node-argon2/pull/431)

[microsoft/vscode-policy-watcher](https://github.com/microsoft/vscode-policy-watcher/issues/34) and [PR](https://github.com/microsoft/vscode-policy-watcher/pull/35)

Upgrade of dependencies `argon2`(in `package.json`) and `@vscode/policy-watcher`(in `lib/vscode/package.json`) might solve this issue.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.