-
Notifications
You must be signed in to change notification settings - Fork 40
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
馃悶 - MutationObserver is not defined #524
Labels
Comments
mohamed-rekiba
added
bug
Something isn't working
state: need triage
state need triage
labels
Apr 19, 2024
Until this issue is resolved, I've crafted the following postinstall script as a temporary solution. #!/bin/env sh
# Fix MutationObserver is not defined issue
NODE_MODULES="node_modules"
find "$NODE_MODULES" -type f \( -name "ng-web-apis-mutation*" -o -name "mutation-observer.service*" \) | while read -r file; do
sed -i 's/new MutationObserver/new SafeObserver/g' $file 2>/dev/null
done
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Playground Link
No response
Description
ReferenceError: MutationObserver is not defined
at MutationObserverService.eval (/app/node_modules/.pnpm/@ng-web-apis+mutation-observer@3.1.0_@angular[email protected][email protected][email protected]__@ng-web-_odteyczjjqgnrdfw53csgkqmv4/node_modules/@ng-web-apis/mutation-observer/fesm2015/ng-web-apis-mutation-observer.js:138:24)
at MutationObserverService._trySubscribe (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/Observable.js:37:25)
at eval (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/Observable.js:31:30)
at errorContext (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/util/errorContext.js:19:9)
at MutationObserverService.subscribe (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/Observable.js:22:9)
at doInnerSub (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js:19:44)
at outerNext (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js:14:57)
at OperatorSubscriber.OperatorSubscriber._next (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js:13:21)
at OperatorSubscriber.next (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/Subscriber.js:31:18)
at _Observable.eval (/app/node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm/internal/observable/innerFrom.js:51:24)
Angular version
17.3.5
Taiga UI version
3.75.0
Which browsers have you used?
Which operating systems have you used?
The text was updated successfully, but these errors were encountered: