React Drum Machine errors

Hi :slight_smile:

I’ve completed a very basic drum machine which passes all the tests.
However, I get 81 errors in the console after pressing the “Run tests” button.

Also, this message appears:

1 of 27 errors on the page
The error you provided does not contain a stack trace.

:arrow_forward: 5 stack frames were collapsed.

I was so proud of myself for having completed the project until I saw all those red in Console.

I would really appreciate anyone’s help.



Github link: https://github.com/ezzep66/react-drum-machine

I’m not seeing any errors when I play with your drum machine.

run the FCC tests…
they should appear after all tests are complete.

I’m not getting them on Firefox:

2 Likes

must be a Chrome thing…

It looks like they’re all based on the same error:

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
1 Like

this link helped me with the issue;

1 Like

Good job figuring it out! Happy coding.

1 Like