Forked repo
Cchumi opened this issue · comments
Hi I love your module but I need to expand functionality like css and another control on the recorder to toggle or not the recorder.
So I fork your repo install in my node react app but I am not able to use your module forked.
When I install your version in my node module it comes compiled but when I install my version It comes not compiled so I try running npm build but got an error.
Please can you give me advice to compile it ?
Thanks
Thanks for the support.
Please let me know the "Error" that you are getting while build so that i can identify and help you out reg the same
Hi and thanks for your answer.
It’s a webpack error
webpack module parse failed: unexpected token
It’s about a missing part.
And can I use un compiled version of your repo ?
If I use uncompiled version just after added :
yarn add git+https://github.com/Cchumi/react-voice-recorder.git
I got : Module not found: Can't resolve 'react-voice-recorder'
If I go to node_modules/react-voice-recorder/
and run npm run-script build
I answer yes to Do you want to install 'webpack-cli' (yes/no): yes
I got this error
`ERROR in ./src/components/Recorder.js 150:6
Module parse failed: Unexpected token (150:6)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const { showUIAudio, title, audioURL } = this.props;
| return (
<div className="recorder-library-box">
|
|
@ ./src/index.js 1:0-44 3:0-5:1
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! react-voice-recorder@1.0.8 build:
webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the react-voice-recorder@1.0.8 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
I hope you had run => npm install before build...
It is working in my system with npm. Have facing the same issue npm too please?
I already run npm before all of this.
Which version of npm did you have ?
Mine is 5.6.0 also working on higher version 6+...
If you have skype, please ping me on skype. Skype id is shivasing14
@Cchumi I have completely modified this library package, You can try it out now.
Now I am closing this issue, if you face the same issue please let me know.