问题 I have added "domino" in the server.ts and even updated webpack.server.config.js as : module: { rules: [ { test: /\.(ts|js)$/, loader: 'regexp-replace-loader', options: { match: { pattern: '\\[(Mouse|Keyboard)Event\\]', flags: 'g' }, replaceWith: '[]', } }, { test: /\.ts$/, loader: 'ts-loader' }, ] } But still getting the same error : "ReferenceError - KeyboardEvent is not defined". I am running these commands in terminal $npm run build:ssr $npm run serve:ssr Commands Defined in package.json