Having trouble running the webui
See original GitHub issueI installed the most recent node.js 7.2 and webpack 2.1.0 beta 27 and after I install the dependencies, I get the following error. Any idea what I need to do to fix it? Thanks! It’s really great of you to open source this!
Webpack is watching the files…
Hash: 30c04c184e14f933f9c3 Version: webpack 2.1.0-beta.27 Time: 460ms Asset Size Chunks Chunk Names bundle.js 5.29 kB 0 [emitted] main + 1 hidden modules
ERROR in ./App/index.js Module build failed: ReferenceError: [BABEL] c:\wamp64\nodejs\javascript-obfuscator-ui-master\App\index.js: Unknown option: c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\react\react.js.Children. Check out http://babeljs.io/docs/usage/options/ for more information about options.
A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:
Invalid:
{ presets: [{option: value}] }
Valid:
{ presets: [['presetName', {option: value}]] }
For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options. (While processing preset: “c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\react\react.js”) at Logger.error (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\logger.js:41:11) at OptionManager.mergeOptions (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:221:20) at c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:260:14 at c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:329:22 at Array.map (native) at OptionManager.resolvePresets (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:270:20) at OptionManager.mergePresets (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:259:10) at OptionManager.mergeOptions (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:244:14) at OptionManager.init (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\options\option-manager.js:374:12) at File.initOptions (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\index.js:216:65) at new File (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\file\index.js:139:24) at Pipeline.transform (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-core\lib\transformation\pipeline.js:46:16) at transpile (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-loader\lib\index.js:41:20) at Object.module.exports (c:\wamp64\nodejs\javascript-obfuscator-ui-master\node_modules\babel-loader\lib\index.js:138:12)
Issue Analytics
- State:
- Created 7 years ago
- Comments:16
Top GitHub Comments
Thanks Tiago, this is awesome!
By the way, if someone is looking for this error while running “npm run webpack:dev”:
The solution is: Increase or add a swapfile to your server!
Cheers.
So, quick summary for those wanting to follow in my footsteps…
Download the code from repo Unpack Install yarn if it doesn’t exist with npm install -g yarn Edit the package.json file and delete the line with fsevents Run yarn in the downloaded directory It should get through all the dependencies and when it errors out because of the missing copy and delete commands, go ahead and copy the files it’s referencing in the errors to the appropriate places. npm run webpack:run Open a new console and go to the ui directory and do “node server.js” Go to a browser and open 127.0.0.1:3000