ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/android.d.ts' not found. #1480

Open rleongmt opened 3 years ago

rleongmt commented 3 years ago

Tell us about the problem

Unable to resolve relative path for reference.d.ts as it does not exist

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

Please tell us how to recreate the issue in as much detail as possible.

  1. Open terminal
  2. Put "nativescript-ui-sidedrawer": "9.0.3" in package.json
  3. Run "ns clean"
  4. Run "ns install"
  5. Run "ns prepare android"
  6. Error occurs.

The errors I get are:

node_modules/nativescript-ui-sidedrawer/references.d.ts:4:22 - error TS6053: File '/Users/waleong/Documents/Projects/maia-grazing-mobile/node_modules/nativescript-ui-sidedrawer/node_modules/nativescript-ui-core/android.d.ts' not found.

4 /// <reference path="./node_modules/nativescript-ui-core/android.d.ts" />
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The references.d.ts file content in the plugin

/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />
/// <reference path="./node_modules/@nativescript/types/index.d.ts" />
/// <reference path="./node_modules/nativescript-ui-core/ios.d.ts" />
/// <reference path="./node_modules/nativescript-ui-core/android.d.ts" />
/// <reference path="./android.d.ts" />
/// <reference path="./ios.d.ts" />