CaliStyle / ng-intercom

Angular 7+ Wrapper for Intercom.com
MIT License
54 stars 46 forks source link

Version Mismatch #30

Closed felipegomesflg closed 6 years ago

felipegomesflg commented 6 years ago

I could use it for dev with no problems, but when i build for prod i had this error comming up:

ERROR in Metadata version mismatch for module C:/mdc/mdc.pagalee.dashboard/node_modules/ng-intercom/dist/index.d.ts, found version 4, expected 3, resolving symbol AppModule in C:/mdc/mdc.pagalee.dashboard/src/app/app.module.ts, resolving symbol AppModule in C:/mdc/mdc.pagalee.dashboard/src/app/app.module.ts, resolving symbol AppModule in C:/mdc/mdc.pagalee.dashboard/src/app/app.module.ts

I'm running this application on angular5

wbhob commented 6 years ago

Nuke node_modules and npm install, that should fix your issue.

felipegomesflg commented 6 years ago

My angular 5 packages was on beta, put it all on rc and worked just fine. Thanks anyways!

wbhob commented 6 years ago

Angular 5 is extremely stable, you can use 5.2 now if you like and it will work