windows-installer
windows-installer copied to clipboard
Creating an installer fails when the package is too large
I am trying to create an installer for my application and it fails with the following error message.
creating windows installer
Failed with exit code: 1
Output:
Attempting to build package from 'kiosk-oven.nuspec'.
lib\net45\resources\app\os\raspbian-pibakery.img
Can not access a closed Stream.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] create-installer-win: `node installers/windows/createinstaller.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] create-installer-win script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vivek\AppData\Roaming\npm-cache\_logs\2018-06-20T09_06_31_431Z-debug.log
FYI, lib\net45\resources\app\os\raspbian-pibakery.img
is a fairly large file(~5gb).
Sometimes it doesn't fail while building the installer but when I try to run the installer i get the following error.
Am I doing something wrong? I basically need to package a OS image file along with my application.