Failed to build server submodule
JiffyChen opened this issue · 2 comments
This issue is unique.
- I have used the search tool and did not find an issue describing my bug.
Operating System of DocumentServer
Docker
Version information
v8.0.1
Expected Behavior
Successfully built without serious warnings
Actual Behavior
Pkg converter and docservice failed with serious warning。
Warning Cannot resolve ''./' + config.get('services.CoAuthoring.server.editorDataStorage')'
/build/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/sources/DocsCoServer.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
Warning Cannot resolve ''./' + config.get('storage.name')'
/build/build_tools/out/linux_64/onlyoffice/documentserver/server/Common/sources/storage-base.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
Warning Cannot include file %1 into executable.
The file must be distributed with executable as %2.
%1: ../build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/node_modules/open/xdg-open
%2: path-to-executable/xdg-open
Warning Cannot include file %1 into executable.
The file must be distributed with executable as %2.
%1: ../build_tools/out/linux_64/onlyoffice/documentserver/server/DocService/node_modules/open/xdg-open
%2: path-to-executable/xdg-open
Reproduction Steps
download all source code
- cd server
- make
- pkg /build/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter --targets=node16-linux -o /build/converter
Additional information
No response
Hello @JiffyChen, You can compile using build_tools, the guide is here. But its brocken right now #807.