Skip to content

export 'PercentLength' (imported as 'PercentLength') was not found in '@nativescript/core/ui/styling/style-properties' #6

@Slh-Ibrahim

Description

@Slh-Ibrahim

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @ticnat/nativescript-searchable-select@2.0.5 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@ticnat/nativescript-searchable-select/common.js b/node_modules/@ticnat/nativescript-searchable-select/common.js
index 08987da..453f49d 100644
--- a/node_modules/@ticnat/nativescript-searchable-select/common.js
+++ b/node_modules/@ticnat/nativescript-searchable-select/common.js
@@ -2,7 +2,7 @@ import { Button, Color, FlexboxLayout, Frame, isAndroid, ItemSpec, Label, ListVi
 import { isNullOrUndefined } from '@nativescript/core/utils/types';
 import { GridLayout } from '@nativescript/core/ui/layouts/grid-layout';
 import { CoreTypes } from '@nativescript/core/core-types';
-import { PercentLength } from '@nativescript/core/ui/styling/style-properties';
+import { PercentLength } from '@nativescript/core';
 export class SearchableSelectCommon extends GridLayout {
     constructor() {
         super();

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions