google / google/generative-ai-docs
Talking-character: Example won't compile. Error
Open
component:demos
demos:talking-character
status:triaged
type:help
- Dominant language
- Jupyter Notebook
- Stars
- 2.3k
- Forks
- 735
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm excited to try this but can't get it to compile. Here the error I get after running npm start:
```
Failed to compile.
./src/apis/speechRecognition.ts 132:47
Module parse failed: Unexpected token (132:47)
You may need an appropriate loader to handle this file type.
| while (1) switch (_context2.prev = _context2.next) {
| case 0:
> base64Data = reader.result?.toString().split(',')[1];
| if (!base64Data) {
| _context2.next = 7;
```
I'm running this in VSCode on a M1 Macbook btw
Contributor guide
Assessment
This issue has not been assessed yet.