codesandbox / codesandbox/codesandbox-client
Angular 13 with Angular InstantSearch throw an error
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 Bug Report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
In local, running this example using Angular 13 and Angular InstantSearch 4.1.0 works fine.
But on Codesandbox, an error is thrown: Type NgAisRootModule does not have 'ɵmod' property..
In local, running yarn start for the first time converts the Angular InstantSearch library from the View Engine to Ivy:
Processing legacy "View Engine" libraries:
- angular-instantsearch [es2015/esm2015] (https://github.com/algolia/angular-instantsearch.git)
Encourage the library authors to publish an Ivy distribution.
✔ Browser application bundle generation complete.
But I don't know what's happening on CodeSandbox side.
Link to sandbox for reproduction
Thank you!
How has this issue affected you? What are you trying to accomplish?
Examples in our documentation using Angular 13 with Angular InstantSearch no longer work.
Your Environment
| Software | Name/Version |
|---|---|
| Codesandbox | 57b91069f |
| Browser | Chrome 99.0.4844.51 |
| Operating System | macOS 11.6.4 |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox reproduction and the Angular InstantSearch getting-started example. Compare its Angular 13 setup with the local yarn start behavior, focusing on the View Engine-to-Ivy handling described in the report. Done means the documentation example runs in CodeSandbox without the NgAisRootModule ɵmod error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100