bjdgyc / anylink

AnyLink是一个企业级远程办公 ssl vpn 软件,可以支持多人同时在线使用。基于 openconnect 协议开发,并且借鉴了 ocserv 的开发思路,可以完全兼容 AnyConnect 客户端。
GNU Affero General Public License v3.0
1.66k stars 398 forks source link

修复node版本过高,Docker编译失败的问题 #176

Closed 0x0021 closed 2 years ago

0x0021 commented 2 years ago

修复以下问题:

 => ERROR [builder_node 4/4] RUN yarn install     && yarn run build     && ls /web/ui                                                                                                                                                   81.5s
 => [builder_golang 2/7] WORKDIR /anylink                                                                                                                                                                                                0.2s
 => [builder_golang 3/7] COPY . /anylink                                                                                                                                                                                                 0.1s
------
 > [builder_node 4/4] RUN yarn install     && yarn run build     && ls /web/ui:
#18 0.509 yarn install v1.22.19
#18 0.650 [1/4] Resolving packages...
#18 1.397 [2/4] Fetching packages...
#18 81.02 error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.12.0"
#18 81.04 error Found incompatible module.
#18 81.04 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
executor failed running [/bin/sh -c yarn install     && yarn run build     && ls /web/ui]: exit code: 1
codecov-commenter commented 2 years ago

Codecov Report

Base: 22.81% // Head: 22.81% // No change to project coverage :thumbsup:

Coverage data is based on head (36cb865) compared to base (4a7d534). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #176 +/- ## ======================================= Coverage 22.81% 22.81% ======================================= Files 60 60 Lines 3511 3511 ======================================= Hits 801 801 Misses 2579 2579 Partials 131 131 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.