-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: unknown option '--mode=build' #1277
Comments
In the process of fixing this in #1255 |
In the meantime, you could use the JavaScript API |
@ayushmanchhabra Thanks for looking into this issue. I'm really glad that nw-builder supports the ARM64 architercture for macOS. I decided to switch from nwjs-builder-phoenix since it's pretty outdated now. I was about to pull my hair out trying to get nw-builder to work 😆 Thanks to Jared Wilcurt's nw-angular-example, I realized it was a version issue, not the settings I was using, since his example was running 4.8.1 without any problems. I really appreciate the suggestion about the JavaScript API! For now, I've downgraded to version 4.9.0, and it’s working fine for me. I'm sure the update will take care of the problem once it's released. I'll keep an eye out for it! |
@me-vlad-k I won't be able to get to this until the coming weekend. Feel free to create a PR if you require this more urgently |
@ayushmanchhabra No worries, I’m not in a hurry. If I find some time, I’ll look into it myself and possibly create a PR. Thanks for letting me know! |
🤖 I have created a release *beep* *boop* --- ## [4.11.5](v4.11.4...v4.11.5) (2024-11-01) ### Bug Fixes * **cli:** handle boolean type options correctly ([#1255](#1255)) ([524fe34](524fe34)), closes [#1277](#1277) ### Chores * **deps-dev:** bump nw from 0.92.0 to 0.93.0 in the npm group across 1 directory ([#1289](#1289)) ([ed275ad](ed275ad)) * **deps:** bump the gha group across 1 directory with 2 updates ([#1285](#1285)) ([13081c9](13081c9)) * **docs:** clarify priority for defined options ([#1281](#1281)) ([632db41](632db41)), closes [#1261](#1261) * **docs:** improve terminology ([84fa2a4](84fa2a4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Issue Type
Current/Missing Behaviour
I can't build the application, regardless of which CLI options I choose. It shows the error
error: unknown option '--mode=build'
. This error appears for any option that comes first. It occurs in all versions from 4.10.0 up to 4.11.4, which is the current version.Expected/Proposed Behaviour
The application should build normally, which I can successfully do in versions 4.8.1 and 4.9.0. I haven't tested lower versions.
Additional Info
I am using a very basic demo that works well in versions 4.8.1 and 4.9.0.
The text was updated successfully, but these errors were encountered: