-
-
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
[Question] how to build without running the app #21
Comments
Does this work for you? npx nx run nativescript-app:build I believe this should be the method to build the app (for production, without running), but it is failing for me. |
The
As stated in readme:
Android: npx nx run <app-name>:android:prod iOS: (Mac only) npx nx run <app-name>:ios:prod When building (you are most often building a release build which the I've updated readme to have a Heading above that section ( Also note that there's been one webpack5 release build issue we've been working on and you may be affected by it just depending on what your app is using. We anticipate a fix for that issue within the next 2 weeks but there's a workaround solution posted in meantime: |
@NathanWalker thanks for your detailed explanation. Using the code above still seems to run the app, however. Looking at the |
I'm running this: |
@kennethkeim see here: #51 👍 , case 2 likely. |
Pretty new to this newfangled Nx workspace thing (coming from the old Angular code sharing method), so I'm trying to get my bearings in this strange land.
Is there an equivalent to running an
ns build
using this plugin? I see that there are options forns run
,ns debug
, andns clean
, but I don't see anything for a regular build. Is this possible currently?Running
ns build
in the NativeScript app directory seems to work fine, just wondering if there is a better Nx way to do it.The text was updated successfully, but these errors were encountered: