Closed cwooi95 closed 3 years ago
Please read the issue template.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Is this a regression?
No
Description
When running npm run serve:ssr after installing
@nguniversal
, there is conflict with hammer.js module, error shows window is not defined.🔬 Minimal Reproduction
1) ng add @nguniversal/express-engine --clientProject roomer-app 2) npm run build:ssr (success) 3) npm run serve:ssr (failed)
🔥 Exception or Error
Error.log
🌍 Your Environment
Angular CLI: 9.1.3 Node: 12.18.3 OS: darwin x64
Angular: 9.1.3
Other information
package.json