"MouseEvent" not defined - server side rendering

UI Components for Angular
Post Reply
ln1107
Posts: 1
Joined: 14 Aug 2018, 09:13

05 Feb 2019, 12:51

ReferenceError: MouseEvent is not defined
at C:\xampp\htdocs\shirt\node_modules\primeng\src\app\components\table\table.ts:1957:20
at Object.<anonymous> (C:\xampp\htdocs\shirt\node_modules\primeng\src\app\components\table\table.ts:1928:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\xampp\htdocs\shirt\node_modules\primeng\table.js:7:10)

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

06 Feb 2019, 08:43

ln1107 wrote:
05 Feb 2019, 12:51
ReferenceError: MouseEvent is not defined
at C:\xampp\htdocs\shirt\node_modules\primeng\src\app\components\table\table.ts:1957:20
at Object.<anonymous> (C:\xampp\htdocs\shirt\node_modules\primeng\src\app\components\table\table.ts:1928:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\xampp\htdocs\shirt\node_modules\primeng\table.js:7:10)
Hi,
This is not PrimeNG problem. This is about angular universal. If you build with https://github.com/angular/universal-starter then you will not gonna get error.

Best regards.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests