'cannot run nuxt application on m1 pro at port 3000

I am receiving this error while running the nuxt application on port 3000, It build successfully but when I open localhost:3000 I get this error.

enter image description here

At terminal I am getting this error

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source