node.js - electron-windows-installer gives error for Invalid URI when creating installer -


i new electron , using electron-windows-installer demo application.

i getting following error:

   invalid uri: format of uri not determined.   error: error creating package: error executing file (1): \nc:\\users\\admin\\appdata\\roaming\\npm\\node_modules\\electron-installer-windows\\vendor\\nuget\\nuget.exe pack c:\\users\\admin\\appdata\\local\\temp\\electron-11  61010-8728-139g9g\\codesktopelectron_1.0.1\\nuget\\codesktopelectron.nuspec -basepath c:\\users\\admin\\appdata\\local\\temp\\electron-1161010-8728-139g9g\\codesktopelectron_1.0.1\\codesktopelectron -outputdirectory c:\\users\ \admin\\appdata\\local\\temp\\electron-1161010-8728-139g9g\\codesktopelectron_1.0.1\\nuget -nodefaultexcludes\ninvalid uri:      format of uri not determined.\r\n\n    @    c:\\users\\admin\\appdata\\roaming\\npm\\no  de_modules\\electron-installer-windows\\src\\installer.js:273:21\n      @ childprocess.<anonymous> (c:\\users\\admin\\appdata\\roaming\\npm\\node_modules\\electron-installer-windows\\src\\installer.js:62:5)\n    @ emittwo (eve nts.js:92:20)\n    @ childprocess.emit (events.js:172:7)\n    @ maybeclose (internal/child_process.js:829:16)\n    @ socket.<anonymous> (internal/child_process.js:319:11)\n    @ emitone (events.js:77:13)\n    @ socket.emi t (events.js:169:7)\n    @ pipe._onclose (net.js:486:12)' ps c:\users\admin\downloads\new folder\new2\win_codesktop\app> [error:   error creating package: error executing file (1): 

i have searched througout web , says nuget use iconurl or http/https images can't undestand apply. please help! run following commands -

     npm install --save-dev electron-installer-windows      electron-packager . app --platform win32 --arch x64 --out dist/ 

created folder succesfully

then installer-

    npm install -g electron-installer-windows    electron-installer-windows --src dist/app-win32-x64/ --dest  dist/installers/ 

this generate error,i know plenty of them getting error.

thanks in advance


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -