You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/07 05:14:50 UTC

[GitHub] [apisix-dashboard] imjoey edited a comment on issue #1832: bug: apisix-dashboard v2.5 make build failed on Huawei Kunpeng system

imjoey edited a comment on issue #1832:
URL: https://github.com/apache/apisix-dashboard/issues/1832#issuecomment-834071261


   I've already debugged with @Molio-tan personally, now I put the debug progress here with @Molio-tan's permission.
   
   1. Simply run `yarn install --verbose` under `./web` directory
   ![image](https://user-images.githubusercontent.com/2542401/117399458-34dca380-af33-11eb-99be-ba8014143fd1.png)
   
   
   2. At the same time, see the output from `/var/log/message`:
   ![image](https://user-images.githubusercontent.com/2542401/117399469-3c9c4800-af33-11eb-9870-96c2b1e66eca.png)
   
   3. Use ` coredumpctl info 16027` to see detailed coredump info
   ![image](https://user-images.githubusercontent.com/2542401/117399571-6eadaa00-af33-11eb-9842-5794acbbb734.png)
   
   
   Actually, we could find a similar issue https://github.com/nodejs/help/issues/3202, which shows us that nodejs-v14&v15 is not compatible with Redhat8-aarch64 while nodejs-v12 is OK, and nodejs-v14&15 works well with ubuntu20.04-aarch64. From the snapshot in step 2, we could the reason for the crash is about nodejs itself.
   
   Moreover, from the yum repository provided by Kylin, the default version of nodejs in kylin-v10 is `nodejs-10.11.0`, see the rpm package here `http://archive.kylinos.cn/yum/v10/pks/aarch64/os/Packages/n/nodejs-10.11.0-1.ky10.aarch64.rpm` . 
   
   In conclusion, IMHO, the root cause is about **the incompatibility between nodejs version and Operating System**.
   
   So @Molio-tan will then downgrade the nodejs to 10.11.0 to recheck if the problem still exists and then post your result back here, Thank you very much.
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org