Skip to content

The lib folder is getting cached, or something #1399

@tjvantoll

Description

@tjvantoll

Ok I have a weird one. When I updated versions of UI for {N} I kept having this issue where my TelerikUI.framework was out of sync. I tried everything—deleting platforms/ios, rebuilding node_modules, praying to the iOS gods, etc—and nothing worked. UNTIL I tried deleting the lib folder, and then building everything again from scratch. That totally worked.

Soooooo, I’m not sure about this, but it seems like the CLI’s prepare step is caching lib, or it doesn’t update it when plugins get updated, or something. Here’s how you can recreate the problem:

git clone https://github.com/NativeScript/sample-Groceries.git
cd sample-Groceries
git checkout c0e9e42b3b68b35a1552dfbff70d79c2d2973d1e

Open the project’s package.json and update the "nativescript-telerik-ui" dependency to "0.2.3". Then:

tns install
tns run ios --emulator

A couple of people reported this issue on our Google Group, so it’s not just me that hit this problem. Also, shout out to @karaahmed for helping me track down this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions