Skip to content
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

Closed
1 task done
me-vlad-k opened this issue Oct 17, 2024 · 5 comments · Fixed by #1255 or #1282
Closed
1 task done

error: unknown option '--mode=build' #1277

me-vlad-k opened this issue Oct 17, 2024 · 5 comments · Fixed by #1255 or #1282

Comments

@me-vlad-k
Copy link

me-vlad-k commented Oct 17, 2024

Issue Type

  • Bug Report

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.

@ayushmanchhabra
Copy link
Collaborator

In the process of fixing this in #1255

@ayushmanchhabra
Copy link
Collaborator

In the meantime, you could use the JavaScript API

@me-vlad-k
Copy link
Author

me-vlad-k commented Oct 18, 2024

@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!

@ayushmanchhabra
Copy link
Collaborator

@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

@me-vlad-k
Copy link
Author

@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!

ayushmanchhabra pushed a commit that referenced this issue Nov 1, 2024
🤖 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants