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

UI Components for Angular
Post Reply
larrysimon
Posts: 5
Joined: 03 Feb 2018, 16:33

10 Jan 2019, 22:48

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.

yigitfindikli
Posts: 329
Joined: 08 Aug 2018, 14:09

15 Jan 2019, 11:17

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

larrysimon
Posts: 5
Joined: 03 Feb 2018, 16:33

15 Jan 2019, 21:08

That fixed it once all the versions aligned properly. Thanks.

yigitfindikli
Posts: 329
Joined: 08 Aug 2018, 14:09

15 Jan 2019, 21:57

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

david.canning
Posts: 1
Joined: 21 Jan 2019, 23:29

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.

yigitfindikli
Posts: 329
Joined: 08 Aug 2018, 14:09

29 Jan 2019, 10:46

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 ?

Pritiranjan Swain
Posts: 2
Joined: 26 Feb 2019, 11:16

26 Feb 2019, 12:39

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

Pritiranjan Swain
Posts: 2
Joined: 26 Feb 2019, 11:16

08 Mar 2019, 09:15

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"

Bowhay693
Posts: 1
Joined: 10 Apr 2019, 11:10

10 Apr 2019, 11:14

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.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests