-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
🚨 Having trouble with 'nx build nativescript-{yourapp}'? See... #51
Comments
@NathanWalker Whatever was updated since
|
@JakeAi I believe you got past that but ping back here if not. |
|
@JakeAi can you run the following:
and paste the output here? Then also can run:
And confirm version once more:
|
v14.18.2
Error while loading nativescript-cloud is: Default commands should be required before child commands |
@JakeAi you will want at least node 15 or higher (we recommend 17 or 18).
That is an old and no longer used extension. |
I now get this
|
If you now run the following what versions do you have:
|
I'm currently dealing with npm/cli#4234 |
This is the error. The previous error was related to that issue i linked.
v18.4.0 |
@JakeAi how about nx version as well? |
@NathanWalker as of right now, 14.1.0. Edit: now I can't build lol. Edit 2: Updating ngtools webpack fixed the issue below. I still have
|
We sorted the above for @JakeAi it was related to some project.json setups and placement of options however also related to fact that keyStorePath flags should be passed in with the build command, for example:
|
Having the same issue - no matter what I run, nx build or nx run always results in a and then just opens the app on the phone again. How can one get to a production build?? |
Use the 5.0 beta. It's much better. |
Well I upgraded and yes, its not nicely building it. BUT, now its not running on the phone any more...any hints on how to get this going again? |
A new requirement is that every flag with a value must be separated with an
=
to ensure any flags which should never be duplicated are properly deduped (in event it was accidentally added twice):Case 1
Notice the usage of
=
between key/values.Case 2
If you notice your build command turning into
nx run
orns debug
in a CI Pipeline you may need to use an alternate format, for example:Wait what?! Notice the
nx build
turned intons debug
- that's not what we want.There we go, it properly builds now.
The text was updated successfully, but these errors were encountered: