Compilation error: Cannot find module 'places.js' or its corresponding type declarations.
Describe the bug 🐛
Receiving a compilation error when trying to use the latest version of angular-instantsearch.
Expected behavior 💭
Successful compilation.
Environment:
- OS: Linux
- Browser: All
- Version:
"angular-instantsearch": "^4.4.0","@angular/core": "^15.2.0",
Additional context
@kisamoto I was able to fix this compilation error by installing npm i -D @types/places & npm i places.js .
Can confirm that fixes it but should either:
- be in the docs;
- or have the dependency removed (places.js is in the public archive)
@kisamoto Yeah that's true. Maybe one of the maintainers should document it.
@fourthofaugust @kisamoto it’s wasn’t resolved when using yarn add @types/places
Can someone make a reproduction of this? When I'm trying this in the examples, places doesn't need to be loaded.
@Haroenv
solved by running yarn add @types/places && yarn add places.js