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

请问有没有同学遇到alinode(fully-static)动态加载的问题 #215

Open
vihoyau opened this issue Aug 24, 2022 · 0 comments
Open

Comments

@vihoyau
Copy link

vihoyau commented Aug 24, 2022

dockerfile基础镜像:registry.cn-hangzhou.aliyuncs.com/aliyun-node/alinode:v7.6.0-alpine
报错:
请问有没有同学需要动态加载的问题,alinode的版本,有兼容性问题。
我们有个依赖,nodejieba,因为alinode的版本从V12.13.1升级到14.18.1,出现了动态加载报错Error: Dynamic loading not supported(本地node版本没有问题,只是在CI过程中,报错了。)
查看stackOverflow的说辞,预测是node-gyp导致,里面用了NAPI之类的吧。
于是我更改了nodejieba包,换成@node-rs/jieba的包(因为没有 node-gyp
),但是还是有问题呀。

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