Starting web server using nmp

hi, so, I’ve been stuck at this point in the Linux Fundamentals
(Find a way to start a simple HTTP server using “npm”. Submit the command that starts the web server on port 8080 (use the short argument to specify the port number)) for hours.
Can someone help me? I tried a lot of commands but nothing worked

Try this website. It helped me. Big list of http static server one-liners · GitHub

1 Like

Thank you m0j0r1s1n for his wisdom

This question is hard and doesn’t make much sense but this website helped me:
node.js - Starting a simple HTTP-server using "npm" without installing npm - Stack Overflow).&text=This%20works%20only%20when%20the,it%20from%20the%20current%2Ddir.