Compilation error: Cannot find module 'places.js' or its corresponding type declarations.
mazenaboelanin opened this issue ยท 2 comments
mazenaboelanin commented
Describe the bug ๐
- Receiving a compilation error
cannot find module 'places.js'
when trying to use angular-instantsearchversion 4.3.0
or the latestversion 4.4.0
. - Tried to add places using
yarn add @types/places
and it gives the same error
Expected behavior ๐ญ
Successful compilation.
Environment:
- OS: mac
- Browser: all
- Versions:
"angular-instantsearch": "^4.4.0",
"@angular/core": "^14.2.0",
node: 16.17.0
andnode: 18.10.0
yarn: 1.22.19
mazenaboelanin commented
solved by running yarn add @types/places && yarn add places.js