I am using Vue and vite to practice the workflow of the web application with fetching API, following this tutorial. At the end of the yarn dev
command, I got the error. I've tried:
How could I resolve this issue? Or I missed anything? Thanks.
You have for sure an issue with your Node environment setup as the project build and run successfully.
Tested on Node v14.17.5
with npm v6.14.14
or yarn v1.22.5
For troubleshooting :