code: 'ERR_UNHANDLED_REJECTION'
aliaafreen opened this issue · 2 comments
nwbuild --srcDir=./src --mode=build --version=1.0.0 --flavour=normal --platform=win --arch=x64 --outDir=./build
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s | 22833/22833
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".] {
code: 'ERR_UNHANDLED_REJECTION'
}
nwbuilder -4.0.2
node - 16.13.1
3.8.6 is the current stable version. I'll be making a PR today and plan to release 4.0.3 (the new latest stable version) by tomorrow.
v4.0.4 should fix this. If it doesn't feel free to ping me here or open another issue. Please have a look at the updated docs - namely now file globing is required. I'm linking the docs of the globing dependency that is used.
https://github.com/isaacs/node-glob#glob-primer