pwa-builder / PWABuilder-CLI

Node.js tool for App Generation
Other
1.63k stars 142 forks source link

Folders instead of images created #294

Open luchsamapparat opened 6 years ago

luchsamapparat commented 6 years ago

Not quite sure what went wrong, so I'm just going to describe what I did:

I created a new app via the following command in a Powershell window:

pwabuilder https://myapp.azurewebsites.net/  -s myapp -p windows10,ios,web -i app.jpg

And instead of Images, these folders were created:

image

I'm using the latest version of pwabuilder, node 8.9.4 on Windows 10.

Any ideas? Maybe a platform issue?

boyofgreen commented 6 years ago

wow, that is one nasty file structure. it looks like an image generation exploded into the file structure. Would you mind sharing your site URL with me (I'm assuming it's not myapp) so I can look into this? If you prefer private, you can email it to me at boyofgreen at gmail.com

luchsamapparat commented 6 years ago

The URL I was running the command against didn't have any website set up yet. I can reproduce the issue with a new empty app. The app.jpg is just my avatar.

PS C:\projects> pwabuilder https://manifoldjs-bug.azurewebsites.net/  -s manifoldjs-bug -p windows10,ios,web -i app.jpg
[warn ] pwabuilder  : No manifest found. A new manifest will be created.
[warn ] general     : Manifest validation WARNING    - The short name contains invalid characters (it will be sanitized)(member: short_name).
[warn ] windows10   : Manifest validation SUGGESTION - It appears that some image sizes used on Windows 10 are not in your Manifest.  We will leave off any we can, and add defaults for any necessary images that are missing(member: icons).
[warn ] ios         : Manifest validation SUGGESTION - An app icon of the following sizes is required: 76x76, 120x120, 152x152 and 180x180(member: icons).
[warn ] ios         : Manifest validation SUGGESTION - An 1024x1024 app icon for the App Store is required(member: icons).
[warn ] ios         : Manifest validation SUGGESTION - A launch image of the following sizes is required: 750x1334, 1334x750, 1242x2208, 2208x1242, 640x1136, 640x960, 1536x2048, 2048x1536, 768x1024 and 1024x768(member: icons).
[warn ] web         : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/images/favicon.ico'. Response was '404 - Not Found'.
[warn ] web         : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/windows10/SplashScreen.scale-200.png.png'. Response was '404 - Not Found'.
[warn ] web         : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/windows10/Wide310x150Logo.scale-200.png.png'. Response was '404 - Not Found'.
[warn ] web         : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/ios/ios-appicon-1024-1024.png'. Response was '404 - Not Found'.
[warn ] windows10   : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/windows10/SplashScreen.scale-200.png.png'. Response was '404 - Not Found'.
[warn ] windows10   : Error downloading an icon file. Error downloading 'https://manifoldjs-bug.azurewebsites.net/windows10/Wide310x150Logo.scale-200.png.png'. Response was '404 - Not Found'.