Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. ERROR in ./main.js
  2. Module build failed: ReferenceError: [BABEL] /home/tomek/Pulpit/STUDIA/ZTI/klient/main.js: Unknown option: /home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/react/react.js.Children. Check out http://babeljs.io/docs/usage/options/ for more information about options.
  3.  
  4. A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:
  5.  
  6. Invalid:
  7. `{ presets: [{option: value}] }`
  8. Valid:
  9. `{ presets: [['presetName', {option: value}]] }`
  10.  
  11. For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options. (While processing preset: "/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/react/react.js")
  12. at Logger.error (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/logger.js:41:11)
  13. at OptionManager.mergeOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:226:20)
  14. at /home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14
  15. at /home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22
  16. at Array.map (native)
  17. at OptionManager.resolvePresets (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
  18. at OptionManager.mergePresets (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
  19. at OptionManager.mergeOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
  20. at OptionManager.init (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
  21. at File.initOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/index.js:212:65)
  22. at new File (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/index.js:135:24)
  23. at Pipeline.transform (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
  24. at transpile (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-loader/lib/index.js:48:20)
  25. at Object.module.exports (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-loader/lib/index.js:163:20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement