New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile issues when importing package #357
Comments
Hello, besides installing this package and its peer dependencies, there shouldn't need to be any other steps for the import you included to compile successfully in a new create react app project. I tried spinning up a new project via create react app (Node v14.19/React 16.14), installed this package and its peer dependencies via npm, and added the import, but, I'm able to build with no issues. Can you link a repo or give more detailed steps to reproduce the error? |
Hi @nmanu1 , Thanks for the quick response.
I'm still trying to outline easy reproducible steps for original issue also. |
I was able to reproduce the issue after following the steps you outlined. The problem is coming from the use of v4 of I confirmed that the issue is resolved after ejecting from
|
Update the README to add notes about compatibility with Webpack in response to [this](#357) issue.
Hello! I'm attempting to install this package via npm and import it into my project. (Node v12.22.6/React 16.14)
import { SearchBar, UniversalResults } from '@yext/search-ui-react';
After importing there seems to be a compilation error(s) pointing to a dependency:
I've also tested this with a new create react app test project (node v14.17/React 16.14) with same error.
Although compiling nullish coalescing should likely be handled by this package, I've tried to handle this and compile on our project's side in various ways with no success.
Are there additional dependency considerations?
The text was updated successfully, but these errors were encountered: