justnull opened a new issue, #2848:
URL: https://github.com/apache/apisix-dashboard/issues/2848

   ### Issue description
   
   ```
   youth@ubuntu:~/Downloads/apisix-dashboard$ make build
   
   api/build.sh && cd ./web && export CYPRESS_INSTALL_BINARY=0  && yarn install 
--ignore-scripts && yarn build  && mkdir -p ../output/logs
   
   + export ENV=local
   
   + ENV=local
   
   ++ pwd
   
   + pwd=/home/youth/Downloads/apisix-dashboard
   
   + rm -rf output
   
   + mkdir -p output/conf
   
   + mkdir -p output/dag-to-lua
   
   + [[ ! -f dag-to-lua-1.1/lib/dag-to-lua.lua ]]
   
   + wget https://github.com/api7/dag-to-lua/archive/v1.1.tar.gz -P /tmp
   
   --2023-08-06 10:36:42--  
https://github.com/api7/dag-to-lua/archive/v1.1.tar.gz
   
   正在解析主机 github.com (github.com)... 20.205.243.166
   
   正在连接 github.com (github.com)|20.205.243.166|:443... 已连接。
   
   已发出 HTTP 请求,正在等待回应... 302 Found
   
   位置:https://codeload.github.com/api7/dag-to-lua/tar.gz/refs/tags/v1.1 [跟随至新的 
URL]
   
   --2023-08-06 10:36:42--  
https://codeload.github.com/api7/dag-to-lua/tar.gz/refs/tags/v1.1
   
   正在解析主机 codeload.github.com (codeload.github.com)... 20.205.243.165
   
   正在连接 codeload.github.com (codeload.github.com)|20.205.243.165|:443... 已连接。
   
   已发出 HTTP 请求,正在等待回应... 200 OK
   
   长度: 未指定 [application/x-gzip]
   
   正在保存至: ‘/tmp/v1.1.tar.gz.3’
   
   
   
   v1.1.tar.gz.3           [ <=>                ]  13.67K  --.-KB/s    用时 0.09s 
   
   
   
   2023-08-06 10:36:43 (150 KB/s) - ‘/tmp/v1.1.tar.gz.3’ 已保存 [13999]
   
   
   
   + tar -zxvf /tmp/v1.1.tar.gz -C /tmp
   
   dag-to-lua-1.1/
   
   dag-to-lua-1.1/.github/
   
   dag-to-lua-1.1/.github/workflows/
   
   dag-to-lua-1.1/.github/workflows/unit-test.yaml
   
   dag-to-lua-1.1/.gitignore
   
   dag-to-lua-1.1/.luacheckrc
   
   dag-to-lua-1.1/LICENSE
   
   dag-to-lua-1.1/Makefile
   
   dag-to-lua-1.1/README.md
   
   dag-to-lua-1.1/lib/
   
   dag-to-lua-1.1/lib/cli.lua
   
   dag-to-lua-1.1/lib/dag-to-lua.lua
   
   dag-to-lua-1.1/lib/json.lua
   
   dag-to-lua-1.1/rockspec/
   
   dag-to-lua-1.1/rockspec/dag-to-lua-1.0-0.rockspec
   
   dag-to-lua-1.1/rockspec/dag-to-lua-master-0.rockspec
   
   dag-to-lua-1.1/t/
   
   dag-to-lua-1.1/t/conf-err.lua
   
   dag-to-lua-1.1/t/default.lua
   
   dag-to-lua-1.1/t/empty-child.lua
   
   dag-to-lua-1.1/t/example.lua
   
   dag-to-lua-1.1/t/missing-config.lua
   
   dag-to-lua-1.1/t/multi-condition-children.lua
   
   dag-to-lua-1.1/t/multi-no-condition-children.lua
   
   dag-to-lua-1.1/t/no-child.lua
   
   dag-to-lua-1.1/t/no-root.lua
   
   dag-to-lua-1.1/t/single-child.lua
   
   dag-to-lua-1.1/utils/
   
   dag-to-lua-1.1/utils/check-lua-code-style.sh
   
   + cp -r /tmp/dag-to-lua-1.1/lib/cli.lua 
/tmp/dag-to-lua-1.1/lib/dag-to-lua.lua /tmp/dag-to-lua-1.1/lib/json.lua 
./output/dag-to-lua
   
   + cd ./api
   
   + go build -o ../output/manager-api -ldflags '-X 
github.com/apisix/manager-api/internal/utils.version=3.0.1 -X 
github.com/apisix/manager-api/internal/utils.gitHash=397c0cb' ./main.go
   
   + cd ..
   
   + cp ./api/conf/schema.json ./output/conf/schema.json
   
   + cp ./api/conf/customize_schema.json ./output/conf/customize_schema.json
   
   + cp ./api/conf/conf.yaml ./output/conf/
   
   + echo 'Build the Manager API successfully'
   
   Build the Manager API successfully
   
   Unknown Syntax Error: Unsupported option name ("--ignore-scripts").
   
   
   
   $ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] 
[--inline-builds] [--mode #0]
   
   make: *** [Makefile:39:build] 错误 1
   
   ```
   
   ### Expected behavior
   
   successful
   
   ### How to Reproduce
   
   youth@ubuntu:~/Downloads/apisix-dashboard$ make build
   
   
   
   ### Screenshots
   
   _No response_
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `etcd --version`):
   - apisix-dashboard version, if have:
   - Browser version, if have:
   youth@ubuntu:~/Downloads/apisix-dashboard$ apisix version
   /usr/local/openresty//luajit/bin/luajit 
/usr/local/apisix/apisix/cli/apisix.lua version
   3.2.2
   
   youth@ubuntu:~/Downloads/apisix-dashboard$ nginx -V
   nginx version: openresty/1.21.4.2
   built with OpenSSL 1.1.1s  1 Nov 2022
   TLS SNI support enabled
   
   youth@ubuntu:~/Downloads/apisix-dashboard$ etcd --version
   etcd Version: 3.4.18
   Git SHA: 72d3e382e
   Go Version: go1.12.17
   Go OS/Arch: linux/amd64
   
   
   
   
   
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to