Closed seda1094 closed 1 year ago
This is not a solution but might help others. I guess in your case it was missing an npm install.
Sort of somewhat similar issue here, but on version 1.21.4 . I got Cannot find module 'axios-mock-adapter/types' from 'myfolder/myfile.service.spec.ts'
because of an auto-import for MockAdapter. The difference in my case was that for some reason I was importing it from /types, and clearly there is no such module. Fixed it by manually changing the import to be from 'axios-mock-adapter'.
I am getting an error about the type declaration :((
Cannot find module 'axios-mock-adapter' or its corresponding type declarations.ts
Here are my versions
Thanks.