-
Notifications
You must be signed in to change notification settings - Fork 121
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
Build error with instantsearch.js/facet-dropdown #416
Comments
If you install with Yarn this shouldn't happen, it's a bug in the latest version of parcel. Otherwise if you upgrade that example with parcel instead of parcel-bundler, it should also be fixed. You can also see the example on https://codesandbox.io/s/github/algolia/doc-code-samples/tree/master/instantsearch.js/facet-dropdown?file=/package.json Regardless, we should update all examples with the latest bundler, we'll close this issue once that's done |
Thank you for your quick answer ! RefinementList.tsx:322 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'templates') Thank you for support, |
Do you have a code sample that replicates this code? |
Hi Haroenv, Here is a code sandbox that replicates the issue described previously : (Please pass the first error due the lack of the expected DOM item before a search is done) |
Hi,
After npm install, npm start return following error :
Server running at http://localhost:3000
🚨 /Users/stephane.ma/Sites/instantsearch/dropdownfacets/favicon.png: Invalid Version: undefined
at new SemVer (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/@babel/preset-env/node_modules/semver/semver.js:314:11)
at compare (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/@babel/preset-env/node_modules/semver/semver.js:647:10)
at Function.lt (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/@babel/preset-env/node_modules/semver/semver.js:688:10)
at /Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/@babel/preset-env/lib/index.js:273:15
at Object.default (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/@babel/helper-plugin-utils/lib/index.js:23:12)
at getEnvPlugins (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/parcel-bundler/src/transforms/babel/env.js:62:34)
at getEnvConfig (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/parcel-bundler/src/transforms/babel/env.js:12:25)
at async getBabelConfig (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/parcel-bundler/src/transforms/babel/config.js:32:19)
at async babelTransform (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/parcel-bundler/src/transforms/babel/transform.js:6:16)
at async JSAsset.pretransform (/Users/stephane.ma/Sites/instantsearch/dropdownfacets/node_modules/parcel-bundler/src/assets/JSAsset.js:83:5)
Tahnk you for support,
Stephane
The text was updated successfully, but these errors were encountered: