Page 1 of 1

Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 10 Jan 2019, 22:48
by larrysimon
Getting
Unexpected value 'undefined' imported by the module 'MultiSelect Module'
in the Chrome console when loading a page with a PrimeNG 7 multiselect on it. PrimeNG 6 works fine.

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 15 Jan 2019, 11:17
by yigitfindikli
Hi,
Did you install @angular/cdk ?

Code: Select all

npm install @angular/cdk --save
You can find more info in https://www.primefaces.org/primeng/#/multiselect

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 15 Jan 2019, 21:08
by larrysimon
That fixed it once all the versions aligned properly. Thanks.

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 15 Jan 2019, 21:57
by yigitfindikli
larrysimon wrote:
15 Jan 2019, 21:08
That fixed it once all the versions aligned properly. Thanks.
Glad to hear!

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 24 Jan 2019, 15:45
by david.canning
I am getting this with 7.0+ as well, I have "@angular/cdk": "^6.4.7" installed. With 6.1.7 no issues.

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 29 Jan 2019, 10:46
by yigitfindikli
david.canning wrote:
24 Jan 2019, 15:45
I am getting this with 7.0+ as well, I have "@angular/cdk": "^6.4.7" installed. With 6.1.7 no issues.
Hi,
can i see your package.json ?

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 26 Feb 2019, 12:39
by Pritiranjan Swain
I am also getting same error while updating primng 6 to 7

I have install cdk also still same error

npm install @angular/cdk --save

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 08 Mar 2019, 09:15
by Pritiranjan Swain
Fixed by updating:-
@angular/animations": "^7.2.6", "@angular/cdk": "^7.2.6", "@angular/common": "^7.2.6", "@angular/compiler": "^7.2.6", "@angular/core": "^7.2.6", "@angular/forms": "^7.2.6", "@angular/http": "^7.2.6", "@angular/material": "^7.2.6", "@angular/platform-browser": "^7.2.6", "@angular/platform-browser-dynamic": "^7.2.6","primeng": "^7.0.5","@angular-devkit/build-angular": "^0.13.3", "@angular/cli": "~6.2.3", "@angular/compiler-cli": "^7.2.6", "@angular/language-service": "^7.2.6", "karma": "^4.0.0", "typescript": "^3.2.4"

Re: Unexpected value 'undefined' imported by the module 'MultiSelect Module'

Posted: 10 Apr 2019, 11:14
by Bowhay693
I have checked for cyclical references, and issues in the app.module but have been able to see anything that would be causing the issue. Below are the functions of the classes that changed since the crash.