Fails on Windows
Im unable to get the below example to work. Pls Help, here are some details..
Steps tried ::
Node Version :: 10.0.0 OS : Windows 64 bit
What i've done so far is,
- Cloned the Repo of react-hardware via https://github.com/iamdustan/react-hardware/
- Did an npm install // All packages installed fine.
- npm run example -- basic
Throws the below error
react-hardware\node_modules@babel\helper-plugin-utils\lib\index.js:72 throw Object.assign(err, { ^
Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.
at throwVersionError (projectfolder\hwware\react-hardware\node_modules@babel\helper-plugin-utils\lib\index.js:65:11)
at Object.assertVersion (projectfolder\hwware\react-hardware\node_modules@babel\helper-plugin-utils\lib\index.js:13:11)
at _default (projectfolder\hwware\react-hardware\node_modules@babel\plugin-proposal-class-properties\lib\index.js:29:7)
at projectfolder\hwware\react-hardware\node_modules@babel\helper-plugin-utils\lib\index.js:19:12
at Function.memoisePluginContainer (C:\Users\user1\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:113:13)
at Function.normalisePlugin (C:\Users\user1\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:146:32)
at C:\Users\user1\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:184:30
at Array.map (babel-node ./scripts/examples "basic"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] example script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user1\AppData\Roaming\npm-cache_logs\2019-07-21T12_52_46_524Z-debug.log