algolia/angular-instantsearch

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

mazenaboelanin opened this issue ยท 2 comments

Describe the bug ๐Ÿ›

  • Receiving a compilation error cannot find module 'places.js' when trying to use angular-instantsearch version 4.3.0 or the latest version 4.4.0.
  • Tried to add places using yarn add @types/places and it gives the same error

Expected behavior ๐Ÿ’ญ

Successful compilation.

Screenshots ๐Ÿ–ฅ
cant-find-places js

Environment:

  • OS: mac
  • Browser: all
  • Versions:
    "angular-instantsearch": "^4.4.0",
    "@angular/core": "^14.2.0",
    node: 16.17.0 and node: 18.10.0
    yarn: 1.22.19

duplicate of #988

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