JamesBrill / react-speech-recognition

💬Speech recognition for your React app

Home Page:https://webspeechrecognition.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReferenceError: regeneratorRuntime is not defined

shubhamp-sf opened this issue · comments

Throws below error when running it in next.js environment:

image

Here's my package.json

{
  "name": "---",
  "version": "---",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@emotion/react": "^11.10.6",
    "@emotion/styled": "^11.10.6",
    "@mui/icons-material": "^5.11.9",
    "@mui/material": "^5.11.9",
    "@next/font": "13.1.6",
    "@types/node": "18.13.0",
    "@types/react": "18.0.28",
    "@types/react-dom": "18.0.11",
    "@types/react-speech-recognition": "^3.9.0",
    "eslint": "8.34.0",
    "eslint-config-next": "13.1.6",
    "next": "13.1.6",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-speech-recognition": "^3.10.0",
    "typescript": "4.9.5"
  }
}

Duplicate issue: #110