⚠️ This lesson is retired and might contain outdated information.

Set up a NativeScript app in an Nx Workspace

Nathan Walker
InstructorNathan Walker
Share this video with your friends

Social Share Links

Send Tweet
Published 7 years ago
Updated 3 years ago

Nx is an open source toolkit for enterprise Angular applications. The workspace offers many advantages to maximizing code reuse across many different applications in a monorepo setup. Learn how to set up a NativeScript app in the workspace to work seamlessly alongside other apps all while sharing the same core dependencies.

Hatem Hosny
Hatem Hosny
~ 6 years ago

Hi,

I followed the tutorial. I get this error:

/d/DevWork/nxdemo/apps $ tns create mobile --template https://github.com/NathanWalker/template-nativescript-nx

Support for Node.js 8.4.0 is not verified. This CLI might not install or run properly.

Installing https://github.com/NathanWalker/template-nativescript-nx Preparing NativeScript for Nx... Cleaning up... NativeScript for Nx is finalizing...

  • nativescript-nx@1.0.0 added 3 packages in 7.818s

cp: no such file or directory: D:\DevWork\nxdemo\apps\mobile\node_modules@angular\animations*

can you please guide? thanks

Nathan Walker
Nathan Walkerinstructor
~ 6 years ago

Hi Hatem, Sounds like this may have been related to the Angular 5 upgrade in Nx. The template now supports latest Nx. You can remove and recreate the app to use the updated template. Thanks for reporting this issue.

Markdown supported.
Become a member to join the discussionEnroll Today