nw-builder icon indicating copy to clipboard operation
nw-builder copied to clipboard

Cannot run nwbuild command

Open rushiAtRapidDox opened this issue 2 years ago • 2 comments

Issue Type

  • [ ] Bug Report

Current/Missing Behaviour

Running 'nwbuild' with options or without any option results in a "Error: package.json not found in srcDir file glob patterns." image

Additional Info

  • Package version: v4.7.5
  • Operating System: Windows 10 64bit
  • Node version: v22.0.0 & v20.13.1
  • NW.js version: v0.88.0

Offtopic: I'm trying to use nw-builder to build my application since it is the only way to get a build for Apple Silicon systems AFAIK. If you know any other way, please let me know.

  1. I've tried nw-builder-phoenix but it does not have an option for Apple Silicon
  2. and following the guide here is a mess. I'm getting chromium related errors on my machine.

rushiAtRapidDox avatar Jun 18 '24 09:06 rushiAtRapidDox

@rushiAtRapidDox nwbuild's default srcDir is ./*

https://nwjs.readthedocs.io/en/latest/For%20Users/Getting%20Started/ It is looking for a NW.js manifest and is unable to find it.

ayushmanchhabra avatar Jun 18 '24 12:06 ayushmanchhabra

If you have any issues, please ping here and I'll reopen this issue

ayushmanchhabra avatar Jun 23 '24 07:06 ayushmanchhabra