I wanted to share a problem related to lodash debounce but when i tried to use lodash in Stackbiltz (angular project
), it is giving me module not found error.
PROBLEM:
I have installed lodash in the dependencies but it still giving me error:
lodash module not found
in stackbiltz
Here is the link: https://stackblitz.com/edit/angular-a5pvrq
WHAT I NEED?:
I need to use lodash in stackbiltz for angular.
UPDATE: (SOLUTION) @types/lodash was missing in dependencies.
Seems that it lacks @types/lodash
. If you install it as a dependency, the error will go off. Check stackblitz