-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Bug,
I am attempting to using material2, angular-cli and angular-modules. Placing the angular2-material components including the core module into a custom shared-module. Attempting to use the shared-module always results in the following
client:49 [default] J:\workspace\angular2\ts\epimss\node_modules@angular2-material\slide-toggle\slide-toggle.d.ts:67:19
Cannot find name 'HammerInput'.
client:49 [default] J:\workspace\angular2\ts\epimss\node_modules@angular2-material\core\gestures\MdGestureConfig.d.ts:4:39
Cannot find name 'HammerManager'.
Removing the modules and the cli runs normally otherwise. I have seen many mentions of similar problems by googling and on stack overflow but none of the solutions helped.
I have saved hammerjs and @types/hammerjs to my package.json but this did not help. I tried installing hammerjs globally without resolution of the poblem either.
Hope this issue could be resolved soon.
I am using the latest angular-cli@webpack.
Thanks