question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update package to be Angular 9 compliant

See original GitHub issue

Hi algolia-search 😃

Describe the bug 🐛

Installing this package with Angular v9 gives the following warn:

Package "angular-instantsearch" has an incompatible peer dependency to "@angular/core" (requires ">=5.0.0 <8.0.0" (extended), would install "9.0.5"). Package "angular-instantsearch" has an incompatible peer dependency to "@angular/common" (requires ">=5.0.0 <8.0.0" (extended), would install "9.0.5"). Package "angular-instantsearch" has an incompatible peer dependency to "@angular/platform-browser" (requires ">=5.0.0 <8.0.0" (extended), would install "9.0.5"). Package "angular-instantsearch" has an incompatible peer dependency to "@angular/platform-browser-dynamic" (requires ">=5.0.0 <8.0.0" (extended), would install "9.0.5").

Can you please update your peer dependencies?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:34 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
asithadecommented, Mar 28, 2020

I added :

(window as any).algoliasearchProxy__default = null;
(window as any).encodeProxy__default = null;

in polyfills.ts …

it would seem to solve the problem… Workaround.

I was just trying to solve this problem. Thank you!

2reactions
eunjae-leecommented, Apr 21, 2020

Hi @chhaymenghong , Thank you for providing the repository.

angular-instantsearch@3.0.0-beta.5 depends on instantsearch.js@^3.5.4. Can you modify the instantsearch.js version like this?

"instantsearch.js": "^3.5.4",

https://github.com/algolia/angular-instantsearch/blob/3.0.0-beta.5/package.json#L126

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to Angular 9 — Within 10 Minutes - Level Up Coding
To follow this short guide, your existing project must be on version 8.x.x at this moment. We use the 9.0.0 tag to upgrade...
Read more >
Guide to update your Angular application v5.2 -> v6.1 ...
Update all of your Angular framework packages to v6, and the correct version of RxJS and TypeScript. NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@6 update @ ...
Read more >
How To Update Angular CLI To Latest Version
First Update your Angular app to Angular 9. Then use ng update command. ... First uninstall the existing Angular cli packages.
Read more >
Update from Angular 9 to Angular 11
Update from Angular 9 to Angular 11 · ​ · Updating an already migrated project you should follow this process: · yarn global...
Read more >
angular - ng update to specific version
This should probably be noted in the Angular Update Guide ... update the dependencies/package to the latest version compatible with Angular9 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found