error trying to generate assets
KyoJamett opened this issue · comments
Describe the bug
I'm on a react course on udemy, and in the last lesson we must use this asset for generate some assets for a project the teacher itself created and let in his github repo for us to download it . I just followed the steps but the console shows an error.
This is the command line :
npx pwa-asset-generator favicon.png ./assets -m manifest.json -i index.html
favicon is the png file I downloaded, the assets folder is not created, I supose the command should generate the folder if it does not exist.
Expected behavior
The command sould generate me the folder and the assets, but none of them happened. I just receieved an error on the console.
System
- OS: windows 10
- node version v18.16.1
- npm version 9.8.1
- cli version 6.3.1
Additional context
I texted to the course creator and he still have not answered me so I decided to ask for help here. I would like to know what that error means. As you can see I am new on react, so certain things you should think I already know, probably won't be the case.
This is the course : https://www.udemy.com/course/react-desde-cero-pwa