Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install with npm in docker container #11

Open
hailiang-wang opened this issue Jun 3, 2019 · 0 comments
Open

Can not install with npm in docker container #11

hailiang-wang opened this issue Jun 3, 2019 · 0 comments

Comments

@hailiang-wang
Copy link

hailiang-wang commented Jun 3, 2019

What Happens?

Can not install within docker container

操作系统 Debian 9

image

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 上可正常安装

> [email protected] 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant