apache / apache/rocketmq-client-nodejs

Can not install with npm in docker container

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
193
Forks
36
PR merge metrics
No merged PRs in 30d

Description

## What Happens?
Can not install within docker container

## 操作系统 Debian 9
![image](https://user-images.githubusercontent.com/3538629/58812171-d6765e80-8653-11e9-95e0-27f040eef3fc.png)

trace

```
$ wget https://opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com/cpp-client/linux/1.2.0/UBUNTU/5.5.04/librocketmq.a
--2019-06-03 23:04:24-- https://opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com/cpp-client/linux/1.2.0/UBUNTU/5.5.04/librocketmq.a
Resolving opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com (opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com)... 118.31.219.223
Connecting to opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com (opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com)|118.31.219.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-06-03 23:04:24 ERROR 404: Not Found.
```

操作系统
```
root@389de4c49908:/# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
## 经测试,在Ubuntu 16.04 上可正常安装
```
> apache-rocketmq@1.0.0-rc1 install /home/hain/tmp/node_modules/apache-rocketmq > node ./script/download_lib.js && node-gyp rebuild

[rocketmq sdk] [info] downloading [https://opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com/cpp-client/linux/1.2.0/UBUNTU/16.04/librocketmq.a]...
[rocketmq sdk] [info] downloaded library [https://opensource-rocketmq-client.oss-cn-hangzhou.aliyuncs.com/cpp-client/linux/1.2.0/UBUNTU/16.04/librocketmq.a].
[rocketmq sdk] [info] all libraries have been written to disk.
make: Entering directory '/home/hain/tmp/node_modules/apache-rocketmq/build'
CXX(target) Release/obj.target/rocketmq/src/rocketmq.o
CXX(target) Release/obj.target/rocketmq/src/producer.o
In file included from ../src/producer.cpp:18:0:
```

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.