You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using hammerjs in my project so there is this line in the app module file. import 'hammerjs';
any idea what i need to do? i thought hammerjs is a pretty common library to include
./node_modules/.bin/ngu-sw-manifest --module src/app/app.module.ts
/Users/chaoranxie/dev/cwm/node_modules/hammerjs/hammer.js:2643
})(window, document, 'Hammer');
^
ReferenceError: window is not defined
at Object.<anonymous> (/Users/chaoranxie/dev/cwm/node_modules/hammerjs/hammer.js:2643:4)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/chaoranxie/dev/cwm/src/app/app.module.ts:16:1)
at Module._compile (module.js:570:32)
The text was updated successfully, but these errors were encountered:
I am using hammerjs in my project so there is this line in the app module file.
import 'hammerjs';
any idea what i need to do? i thought
hammerjs
is a pretty common library to includeThe text was updated successfully, but these errors were encountered: