danrouse / react-audio-recorder

A React Component using the Web Audio API to record, save, and play audio.
MIT License
143 stars 45 forks source link

Module not found #12

Closed samechikson closed 6 years ago

samechikson commented 7 years ago

When I run my very simple app created with 'create-react-app' and add the dependencies, I get the following error in my main js file:

Module not found: 'react-audio-recorder'

Using: node v7.10.0 yarn v0.24.4 MacOS Sierra 10.12.3

dbraynard commented 7 years ago

@samechikson , it looks like the package wasn't built before getting posted to npm. I git cloned the project then set the npm package.json dependency to: "react-audio-recorder": "file:c:/gitlab/react-audio-recorder" and things worked.

milani commented 7 years ago

@danrouse Can you please upload a working version to npm?

GavinThomas1192 commented 6 years ago

@danrouse Please can you upload a working version to npm?!

danrouse commented 6 years ago

@GavinThomas1192 sorry for the downtime here, I never expect anyone else to mess with my random JS projects. This was missing .npmignore and the default generated .gitignore was greedy enough to exclude dist when publishing to npm. Fixed now (2.0.1)

ChardXu commented 6 years ago

yarn

@samechikson I had try your method and nothing work. and I found it not work in "RunKit", should you solve this problem . hurry up react-audio-recorder runkit