pwa-builder / PWABuilder-CLI

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

"TypeError: Parameter "url" must be a string, not undefined" on icon generation #318

Closed ChildishGiant closed 5 years ago

ChildishGiant commented 6 years ago
PS F:\code\perdola - > pwabuilder -i .\logo.svg -m .\manifest.json -l debug
[info ] pwabuilder  : Reading manifest file .\manifest.json...
[info ] pwabuilder  : Found a w3c manifest...
[debug] pwabuilder  : Manifest contents:
                      {
                          "lang": "en",
                          "name": "Perdola",
                          "short_name": "Perdola",
                          "description": "Perdola is a free, open source app to replace your password manager without storing your passwords anywhere.",
                          "icons": [
                              {
                                  "src": "android-chrome-192x192.png",
                                  "sizes": "192x192",
                                  "type": "image/png"
                              },
                              {
                                  "src": "android-chrome-512x512.png",
                                  "sizes": "512x512",
                                  "type": "image/png"
                              }
                          ],
                          "theme_color": "#8C97CE",
                          "background_color": "#ffffff",
                          "display": "standalone",
                          "start_url": "https://childishgiant.github.io/perdola/"
                      }
[debug] pwabuilder  : Removing Edge Extension platform. The W3C manifest format is not currently supported by this platform.
[debug] pwabuilder  : Loading platform module: pwabuilder-windows10
[debug] pwabuilder  : Loading platform module: pwabuilder-cordova
[debug] pwabuilder  : Loading platform module: pwabuilder-web
[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 ] android     : Manifest validation SUGGESTION - Launcher icons of the following sizes are required: 48x48, 72x72, 96x96, 144x144, 192x192, 512x512(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 ] windows     : 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).
[debug] pwabuilder  : Generating images from app image generation service: http://appimagegenerator-prod.azurewebsites.net
[error] pwabuilder  : TypeError: Parameter "url" must be a string, not undefined
                          at Url.parse (url.js:103:11)
                          at urlParse (url.js:97:13)
                          at Url.resolve (url.js:654:29)
                          at Object.urlResolve [as resolve] (url.js:650:40)
                          at C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\pwabuilder-lib\lib\manifestTools\manifestLoader.js:235:35
                          at _fulfilled (C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\q\q.js:854:54)
                          at self.promiseDispatch.done (C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\q\q.js:883:30)
                          at Promise.promise.promiseDispatch (C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\q\q.js:816:13)
                          at C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\q\q.js:624:44
                          at runSingle (C:\Users\Ali\AppData\Roaming\npm\node_modules\pwabuilder\node_modules\q\q.js:137:13)