Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build errors.. #479

Closed
hitesh97 opened this issue Aug 30, 2017 · 1 comment
Closed

build errors.. #479

hitesh97 opened this issue Aug 30, 2017 · 1 comment

Comments

@hitesh97
Copy link

Hi There,

I am trying to compile this application with the steps described as per 'Running the Example'.

npm install step doesnt seem to give me any errors.

However, when I run 'npm run build:modules' it doesnt seem to build correctly.

Please see the log below.

Your help will be much appreciated.

ng2-dynamic-forms@1.4.25 build:modules C:\Workspace\Hitesh\ng2-dynamic-forms
gulp build:modules

[14:16:43] Using gulpfile C:\Workspace\Hitesh\ng2-dynamic-forms\gulpfile.js
[14:16:43] Starting 'build:modules'...
[14:16:43] Starting 'build:modules:dist'...
[14:16:43] Starting 'lint:modules'...
[14:16:45] Finished 'lint:modules' after 2 s
[14:16:45] Starting 'clean:dist'...
[14:16:45] Finished 'clean:dist' after 80 ms
[14:16:45] Starting 'copy:modules:dist'...
[14:16:46] Finished 'copy:modules:dist' after 260 ms
[14:16:46] Starting 'transpile:modules:dist'...
[14:16:46] Using TypeScript 2.5.1
dist@ng2-dynamic-forms\ui-material\src\dynamic-material-form-control.component.ts(18,5): error TS2305: Module '"C:/Work
space/Hitesh/ng2-dynamic-forms/node_modules/@angular/material/material"' has no exported member 'MdInputContainer'.
dist@ng2-dynamic-forms\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(257,20): error TS2339: Property 'g
roup' does not exist on type '{}'.
dist@ng2-dynamic-forms\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(258,20): error TS2339: Property 'm
odel' does not exist on type '{}'.
dist@ng2-dynamic-forms\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(262,34): error TS2339: Property 'p
ViewChild' does not exist on type '{}'.
C:/Workspace/Hitesh/ng2-dynamic-forms/node_modules/ionic-angular/components/tabs/tabs.d.ts(151,22): error TS2420: Class
'Tabs' incorrectly implements interface 'NavigationContainer'.
Types of property 'parent' are incompatible.
Type 'NavControllerBase' is not assignable to type 'NavController'.
Types of property 'popTo' are incompatible.
Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise' is not assignable to type '(
page: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function) => Promi...'.
Types of parameters 'done' and 'opts' are incompatible.
Type 'NavOptions' is not assignable to type '() => void'.
Type 'NavOptions' provides no match for the signature '(): void'.
C:/Workspace/Hitesh/ng2-dynamic-forms/node_modules/ionic-angular/navigation/nav-controller-base.d.ts(20,22): error TS242
0: Class 'NavControllerBase' incorrectly implements interface 'NavController'.
Types of property 'popTo' are incompatible.
Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise' is not assignable to type '(page
: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function) => Promi...'.
Types of parameters 'done' and 'opts' are incompatible.
Type 'NavOptions' is not assignable to type '() => void'.
Type 'NavOptions' provides no match for the signature '(): void'.
[14:16:52] TypeScript: 6 semantic errors
[14:16:52] TypeScript: emit succeeded (with errors)
[14:16:52] Finished 'transpile:modules:dist' after 6.53 s
[14:16:52] Starting 'preprocess:modules:dist'...
[14:16:53] Finished 'preprocess:modules:dist' after 676 ms
[14:16:53] Starting 'inline:ng2-templates:dist'...
[14:16:54] Finished 'inline:ng2-templates:dist' after 822 ms
[14:16:54] Starting 'bundle:core'...
[14:16:56] Finished 'bundle:core' after 2.51 s
[14:16:56] Starting 'bundle:ui-basic'...
[14:16:56] Finished 'bundle:ui-basic' after 162 ms
[14:16:56] Starting 'bundle:ui-bootstrap'...
[14:16:56] Finished 'bundle:ui-bootstrap' after 143 ms
[14:16:56] Starting 'bundle:ui-foundation'...
[14:16:57] Finished 'bundle:ui-foundation' after 130 ms
[14:16:57] Starting 'bundle:ui-ionic'...
[14:16:57] Finished 'bundle:ui-ionic' after 126 ms
[14:16:57] Starting 'bundle:ui-kendo'...
[14:16:57] Finished 'bundle:ui-kendo' after 179 ms
[14:16:57] Starting 'bundle:ui-material'...
[14:16:57] Finished 'bundle:ui-material' after 169 ms
[14:16:57] Starting 'bundle:ui-ng-bootstrap'...
[14:16:57] Finished 'bundle:ui-ng-bootstrap' after 144 ms
[14:16:57] Starting 'bundle:ui-primeng'...
[14:16:57] Finished 'bundle:ui-primeng' after 151 ms
[14:16:57] Starting 'remove:moduleId:dist'...
[14:16:58] Finished 'remove:moduleId:dist' after 622 ms
[14:16:58] Starting 'copy:dist:npm'...
[14:17:00] Finished 'copy:dist:npm' after 2.44 s
[14:17:00] Finished 'build:modules:dist' after 17 s
[14:17:00] Starting 'copy:dist:npm'...
[14:17:01] Finished 'copy:dist:npm' after 549 ms
[14:17:01] Starting 'build:modules:test'...
[14:17:01] Starting 'clean:test'...
[14:17:01] Finished 'clean:test' after 222 ms
[14:17:01] Starting 'copy:modules:test'...
[14:17:01] Finished 'copy:modules:test' after 186 ms
[14:17:01] Starting 'transpile:modules:test'...
[14:17:01] Using TypeScript 2.5.1
C:/Workspace/Hitesh/ng2-dynamic-forms/node_modules/ionic-angular/components/tabs/tabs.d.ts(151,22): error TS2420: Class
'Tabs' incorrectly implements interface 'NavigationContainer'.
Types of property 'parent' are incompatible.
Type 'NavControllerBase' is not assignable to type 'NavController'.
Types of property 'popTo' are incompatible.
Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise' is not assignable to type '(
page: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function) => Promi...'.
Types of parameters 'done' and 'opts' are incompatible.
Type 'NavOptions' is not assignable to type '() => void'.
Type 'NavOptions' provides no match for the signature '(): void'.
C:/Workspace/Hitesh/ng2-dynamic-forms/node_modules/ionic-angular/navigation/nav-controller-base.d.ts(20,22): error TS242
0: Class 'NavControllerBase' incorrectly implements interface 'NavController'.
Types of property 'popTo' are incompatible.
Type '(indexOrViewCtrl: any, opts?: NavOptions, done?: () => void) => Promise' is not assignable to type '(page
: string | Page | ViewController, params?: any, opts?: NavOptions, done?: Function) => Promi...'.
Types of parameters 'done' and 'opts' are incompatible.
Type 'NavOptions' is not assignable to type '() => void'.
Type 'NavOptions' provides no match for the signature '(): void'.
test\ui-material\src\dynamic-material-form-control.component.ts(18,5): error TS2305: Module '"C:/Workspace/Hitesh/ng2-dy
namic-forms/node_modules/@angular/material/material"' has no exported member 'MdInputContainer'.
test\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(257,20): error TS2339: Property 'group' does not exis
t on type '{}'.
test\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(258,20): error TS2339: Property 'model' does not exis
t on type '{}'.
test\ui-primeng\src\dynamic-primeng-form-control.component.spec.ts(262,34): error TS2339: Property 'pViewChild' does not
exist on type '{}'.
[14:17:08] TypeScript: 6 semantic errors
[14:17:08] TypeScript: emit succeeded (with errors)
[14:17:08] Finished 'transpile:modules:test' after 6.74 s
[14:17:08] Finished 'build:modules:test' after 7.16 s
[14:17:08] Finished 'build:modules' after 25 s
PS C:\Workspace\Hitesh\ng2-dynamic-forms>

@udos86
Copy link
Owner

udos86 commented Aug 30, 2017

@hitesh97 Hi!

This build error is caused by the latest version of Angular Material (see #480).

I'll deliver beta.10 support tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants