Closed 0181532686cf4a31163be0bf3e6bb6732bf closed 7 years ago
If I install it manually via npm, I get
./~/react-bootstrap-toggle/dist/index.js
Module build failed: Error: Couldn't find preset "es2015" relative to directory "/storage/work/frontend/node_modules/react-bootstrap-toggle"
at /storage/work/frontend/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
I am having a hard time reproducing this.
On your local version, could you check if perhaps the babel-preset-es2015 was omitted when you did your npm install, it should be visible in your_project/node_modules/babel-preset-es2015?
I've cleaned my node_modules dir and reinstalled all deps completely and the problem is gone. Thank you!