Without *.mjs and --experimental-modules options, Node.js (v8+) does not support module importing statement import.
-
Clone this project.
-
Run
yarn installto collect out and install dependancies. -
Run
yarn start. If you get the message like below, it is sucessfully installed:
...
Express-Stub app listening on port 3000!
- Hit
F5key, and open a browser athttp://localhost:3000. You will see:
Hello World!