Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 - Module not found: Error: Can't resolve 'perf_hooks' @ng-web-apis/universal on Angular 17 #525

Open
2 of 9 tasks
AmbroseNTK opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working state: need triage state need triage

Comments

@AmbroseNTK
Copy link

Playground Link

No response

Description

I am using @angular/ssr on Angular 17 with Taiga-ui 3.61.0 but it was error: TypeError: tinkoff_ng_dompurify_createDOMPurify is not a function

So that I used @ng-web-apis/universal according to this instruction: https://taiga-ui.dev/ssr but it was error: Can't resolve 'perf_hooks' @ng-web-apis/universal when I tried to build:ssr

Angular version

17.3.7

Taiga UI version

3.61.0

Which browsers have you used?

  • Chrome
  • Firefox
  • Safari
  • Edge

Which operating systems have you used?

  • macOS
  • Windows
  • Linux
  • iOS
  • Android
@AmbroseNTK AmbroseNTK added bug Something isn't working state: need triage state need triage labels May 8, 2024
@waterplea
Copy link
Collaborator

That's weird, it should be already available on pretty old nodejs versions. Your initial error though means you need to update @tinkoff/ng-dompurify and dompurify to latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working state: need triage state need triage
Projects
None yet
Development

No branches or pull requests

2 participants