Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TransformError: [...]: Couldn't find preset "es2015" relative to directory #16

Open
fabien-h opened this issue Jan 1, 2017 · 1 comment

Comments

@fabien-h
Copy link

fabien-h commented Jan 1, 2017

Maybe you have them globally installed somewhere.

I just did npm install --save react-voice-components and import { VoiceRecognition } from 'react-voice-components'; in my component.

To fix :
npm i -S babel-preset-es2015
npm install -S babel-preset-stage-2

They should be listed as dependencies :)

@sazokashi
Copy link

sazokashi commented Mar 7, 2018

I forked this module and fixed the ES5 incompatability by rewriting the functions.

I have made a pull request for the fixes, but in the meantime, you can fork my repo from here: https://github.com/bchang1213/react-voice-components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants