Get support for gRoussac/angular-universal-jsdom

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

gRoussac/angular-universal-jsdom

Reproduction of issue of https://github.com/jsdom/jsdom/issues/3042

ERROR in ./node_modules/jsdom/lib/jsdom/utils.js
Module not found: Error: Can't resolve 'canvas' in '/node_modules/jsdom/lib/jsdom'
const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf( /*#__PURE__*/_wrapAsyncGenerator(function* () {})).prototype);
                                      ^
TypeError: Cannot convert undefined or null to object
Error [ERR_REQUIRE_ESM]: require() of ES Module /srv/www/angular-universal-jsdom/node_modules/@angular/common/fesm2015/common.mjs not supported.

Related issues

https://github.com/angular/angular-cli/issues/21735

https://github.com/Automattic/node-canvas/issues/1314

https://github.com/kkomelin/isomorphic-dompurify/pull/36

Development server

Run npm run dev:ssr for a dev server.

Compiled successfully. error pops up at /angular-universal-jsdom/server/main.js:145316

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2