nativescript-community / ui-collectionview

Allows you to easily add a collection view (grid list view) to your projects. Supports vertical and horizontal modes, templating, and more.
Apache License 2.0
59 stars 18 forks source link

Invalid imports #46

Closed NathanWalker closed 1 year ago

NathanWalker commented 1 year ago

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

WARNING in ./node_modules/@nativescript-community/ui-collectionview/index.ios.js 769:30-62
export 'layout' (imported as 'layout') was not found in '@nativescript/core/utils/layout-helper' (possible exports: AT_MOST, EXACTLY, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, MODE_MASK, MODE_SHIFT, UNSPECIFIED, getDisplayDensity, getMeasureSpecMode, getMeasureSpecSize, getMode, makeMeasureSpec, measureNativeView, measureSpecToString, round, toDeviceIndependentPixels, toDevicePixels)
 @ ./node_modules/@nativescript-community/ui-collectionview/angular/fesm2015/nativescript-community-ui-collectionview-angular.mjs 3:0-111 9:40-54 30:21-47 43:32-63 84:12-16 84:17-31 89:33-64 106:12-16 106:17-31 110:16-20 110:21-35 115:20-24 115:25-39 123:12-16 123:17-31 145:12-16 145:17-31 153:16-20 153:21-35 158:16-20 158:21-35 270:16-20 270:21-35 284:12-16 284:17-31 385:12-16 385:17-31
 @ ./ui/components/listviews/listview/listview.component.ts 5:0-92 613:23-46
 @ ./components/profile-employee-expertises/profile-employee-expertises.component.ts 10:0-106 87:24-44
 @ ./components/page-employee-expertise/page-employee-expertise.component.ts 9:0-172 45:96-133
 @ ./src/features/page-employee-expertise/page-employee-expertise.module.ts 5:0-93
 @ ./src/app.routing.ts 85:28-103
 @ ./src/app.module.ts 4:0-49 34:8-24
 @ ./src/main.ts 7:0-41 17:69-78

WARNING in ./node_modules/@nativescript-community/ui-collectionview/index.ios.js 769:81-113
export 'layout' (imported as 'layout') was not found in '@nativescript/core/utils/layout-helper' (possible exports: AT_MOST, EXACTLY, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, MODE_MASK, MODE_SHIFT, UNSPECIFIED, getDisplayDensity, getMeasureSpecMode, getMeasureSpecSize, getMode, makeMeasureSpec, measureNativeView, measureSpecToString, round, toDeviceIndependentPixels, toDevicePixels)

Which platform(s) does your issue occur on?

both

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

NativeScript 8.4

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

Run an app with the plugin in use.

Is there any code involved?

Should be import { Utils } from '@nativescript/core' with usage Utils.layout