Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Compilation error: Cannot find module 'places.js' or its corresponding type declarations. #988

Open
kisamoto opened this issue Mar 10, 2023 · 6 comments
Labels

Comments

@kisamoto
Copy link

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

@fourthofaugust
Copy link

@kisamoto I was able to fix this compilation error by installing npm i -D @types/places & npm i places.js .

@kisamoto
Copy link
Author

Can confirm that fixes it but should either:

  1. be in the docs;
  2. or have the dependency removed (places.js is in the public archive)

@fourthofaugust
Copy link

@kisamoto Yeah that's true. Maybe one of the maintainers should document it.

@keybits keybits added the bug label Mar 15, 2023
@mazenaboelanin
Copy link

@fourthofaugust @kisamoto it’s wasn’t resolved when using yarn add @types/places

@Haroenv
Copy link
Contributor

Haroenv commented Mar 15, 2023

Can someone make a reproduction of this? When I'm trying this in the examples, places doesn't need to be loaded.

@mazenaboelanin
Copy link

@Haroenv
solved by running yarn add @types/places && yarn add places.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants