Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

ReferenceError: Element is not defined #120

Closed
pararell opened this issue Sep 16, 2019 · 3 comments
Closed

ReferenceError: Element is not defined #120

pararell opened this issue Sep 16, 2019 · 3 comments

Comments

@pararell
Copy link

[x ] bug report

I tried to use svg.config.ts with clientOnly option as true, but still has problem with serverRendering

  • Angular v. 8.2.6

  • Typescript v. 3.5.3

  • Problem is with this line - __metadata("design:type", Element)

  • ReferenceError: Element is not defined is result when I build server-rendering app

@catalinroncea
Copy link

I have the same error "Element is not defined" when building my app with app shell like:
ng run my-app:app-shell:production

@arkon arkon closed this as completed in 4bc5ef6 Oct 7, 2019
@herreraLeonar
Copy link

I have the same problem when execute: npm run dev:ssr

Somebody find how fix?

@mustafakunwa
Copy link

Is there any fix for this yet, Getting the same issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants