ngneat/dirty-check-forms

Cannot read property 'pipe' of undefined at dirtyCheck (ngneat-dirty-check-forms.js:88)

vishalsinghpoker opened this issue · 4 comments

After installing this library and running the codebase, start getting this error.

Cannot read property 'pipe' of undefined at dirtyCheck (ngneat-dirty-check-forms.js:88)

Try to delete your node modules and the cache and reinstall it.

tried but nothing happens.

getting this error -

code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: material@0.0.0
npm ERR! Found: tslib@2.2.0
npm ERR! node_modules/tslib
npm ERR! tslib@"^2.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer tslib@"^1.10.0" from @ngneat/dirty-check-forms@1.1.0
npm ERR! node_modules/@ngneat/dirty-check-forms
npm ERR! @ngneat/dirty-check-forms@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

i hope Library need tslib@1.10.0 but i have updated version, i can't downgrade tslib version doing so will affect other lib

Fixed by fa1e5f9, released in v2