Open
Description
I've been trying to get the angular version of the plugin to work in my own app, but so far I've been running into issues.
As part of troubleshooting I have tried to run the angular demo to see if that does work, but it does not.
I get the following troublesome output:
ERROR in Symbol ReactiveFormsModule declared in C:/Projects/Test-Environment/nativescript-checkbox/demo-ng/node_modules/@angular/forms/forms.d.ts is not exported from @angular/forms (import
into C:/Projects/Test-Environment/nativescript-checkbox/demo-ng/app/app.module.ts)
File change detected. Starting incremental webpack compilation...
Hash: 487e16fc607cf2c76be1
Version: webpack 4.44.2
Time: 3921ms
Built at: 2020-09-23 11:47:58 AM
3 assets
Entrypoint bundle = runtime.js vendor.js bundle.js
[./main.ts] 1.13 KiB {bundle} [built]
+ 329 hidden modules
ERROR in Symbol ReactiveFormsModule declared in C:/Projects/Test-Environment/nativescript-checkbox/demo-ng/node_modules/@angular/forms/forms.d.ts is not exported from @angular/forms (import
into C:/Projects/Test-Environment/nativescript-checkbox/demo-ng/app/app.module.ts)
ERROR in node_modules/@nativescript/core/global-types.d.ts:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: ModuleType, 'audio', 'beacon', 'cspreport', 'download', 'embed', 'eventsource', 'favicon', 'fetch', 'font', 'form', 'frame', 'hyperlink', 'iframe', 'image', 'imageset', 'import', 'internal', 'location', 'manifest', 'object', 'ping', 'plugin', 'prefetch', 'script', 'serviceworker', 'sharedworker', 'subresource', 'style', 'track', 'video', 'worker', 'xmlhttprequest', 'xslt', HeaderInit, WeakRef
1 declare var global: NodeJS.Global & typeof globalThis;
~~~~~~~
node_modules/@nstudio/nativescript-checkbox/node_modules/@nativescript/core/global-types.d.ts:1:1
1 declare var global: NodeJS.Global & typeof globalThis;
~~~~~~~
Conflicts are in this file.
node_modules/@nstudio/nativescript-checkbox/node_modules/@nativescript/core/global-types.d.ts:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: ModuleType, 'audio', 'beacon', 'cspreport', 'download', 'embed', 'eventsource', 'favicon', 'fetch', 'font', 'form', 'frame', 'hyperlink', 'iframe', 'image', 'imageset', 'import', 'internal', 'location', 'manifest', 'object', 'ping', 'plugin', 'prefetch', 'script', 'serviceworker', 'sharedworker', 'subresource', 'style', 'track', 'video', 'worker', 'xmlhttprequest', 'xslt', HeaderInit, WeakRef
1 declare var global: NodeJS.Global & typeof globalThis;
~~~~~~~
node_modules/@nativescript/core/global-types.d.ts:1:1
1 declare var global: NodeJS.Global & typeof globalThis;
~~~~~~~
Conflicts are in this file.
node_modules/@nstudio/nativescript-checkbox/node_modules/@nativescript/core/global-types.d.ts:167:2 - error TS2432: In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
167 'audio',
~~~~~~~
Steps to reproduce:
- Clone repo
cd src
npm run demo.ng.android
I assume the demo worked when releasing the 2.0.0 version, or on other machines. Can someone confirm this?
Metadata
Metadata
Assignees
Labels
No labels