nwutils / nw-builder

Build NW.js applications for Linux, MacOS and Windows
MIT License
1.68k stars 302 forks source link

Cannot run nwbuild command #1124

Closed rushiAtRapidDox closed 2 months ago

rushiAtRapidDox commented 2 months ago

Issue Type

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

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.
ayushmanchhabra commented 2 months ago

@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 commented 2 months ago

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