Uncaught TypeError: Cannot read properties of undefined (reading 'alloc') when using react with Vite #1009
Labels
Hacktoberfest
Label issues as available for participants of https://hacktoberfest.digitalocean.com
Description
I am trying to use React component for rendering documentation. I cannot use it due to the problem with missing modules.
I created new application with create react app (I am aware that it is deprecated)
Then I installed asyncapi-react:
I tried to use
v20.13.1
orv18.20.3
package.json content:
Expected result
Application renders provided anyncapi definition.
Actual result
Steps to reproduce
npm create vite@latest asyncApiProject -- --template react-ts
npm install --save @asyncapi/react-component
AsyncApi.tsx
:App.tsx
component.npm run dev
and try to render react component with asyncapi.Troubleshooting
v1.4.x
andv2.0.0
The text was updated successfully, but these errors were encountered: