nwjs/npm-installer

package.json not found in srcDir file glob patterns

opsett opened this issue · 1 comments

on package.json
"... scripts": {
"dev": "nw source/",
"prod": "nwbuild source/ --mode run -p win64 --buildDir dist/"
},

npm run dev works, but npm run prod fails with following error message: [ ERROR ] 2023-01-28T12:38:42.542Z package.json not found in srcDir file glob patterns

Also used the CLI to try the command: npm nwbuild ./ --mode=run --version=latest --flavor=sdk , but no effect, except that the version number, 9.3.1, was returned

@opsett Hello this is related to nw-builder. Please close this issue and open it there. Thanks