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

   ### Issue description
   
   I am trying to build APISIX Dashboard from source using the steps mentioned 
in https://apisix.apache.org/docs/dashboard/install/. I have the below 
dependencies installed on my machine
   
   Golang 1.20.6
   Node.js 18.17.0
   Enabled Corepack for Yarn
   
   I have updated the Makefile to remove the --ignore-scripts in the below 
line, as yarn does not support this option
   
   .PHONY: build
   build: web-default api-default
        api/build.sh && cd ./web && export CYPRESS_INSTALL_BINARY=0  && yarn 
install --ignore-scripts && yarn build  && mkdir -p ../output/logs
   
   
   When I execute the "make build" command, I receive the below error
   
   Error: error:0308010C:digital envelope routines::unsupported
       at new Hash (node:internal/crypto/hash:69:19)
       at Object.createHash (node:crypto:133:10)
   
   
   ### Expected behavior
   
   The build to be successful
   
   ### How to Reproduce
   
   1. Install Golang 1.20.6
   2. Node.js 18.17.0
   3. Enable Corepack for Yarn (corepack enable)
   4. Update Makefile by removing "--ignore-scripts" under build step
   5. Execute "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:
   
   
   ### 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