Open lifei opened 1 year ago
错误信息:Cannot find module '/tmp/kunlun_function_debug/2023022716274935DD6CB035DAA6AD2C52/functions/node_modules/@pipcook/boa/binding/v6/boa.node'
Cannot find module '/tmp/kunlun_function_debug/2023022716274935DD6CB035DAA6AD2C52/functions/node_modules/@pipcook/boa/binding/v6/boa.node'
boa 的相关问题可以在这里讨论:https://github.com/imgcook/boa/issues
从现象上看应该是 FaaS 上打包把 node_modules/@pipcook/boa/binding/v6/boa.node 去掉了。可以从 FaaS 文档上找找原因。
node_modules/@pipcook/boa/binding/v6/boa.node
@lifei 函数平台是不是禁用 C++ Addon?从错误日志上来看是没有编译出 .node 文件。
错误信息:
Cannot find module '/tmp/kunlun_function_debug/2023022716274935DD6CB035DAA6AD2C52/functions/node_modules/@pipcook/boa/binding/v6/boa.node'