Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR in ./main.js
- 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.
- 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: "/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/react/react.js")
- at Logger.error (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/logger.js:41:11)
- at OptionManager.mergeOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:226:20)
- at /home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14
- at /home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22
- at Array.map (native)
- at OptionManager.resolvePresets (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
- at OptionManager.mergePresets (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
- at OptionManager.mergeOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
- at OptionManager.init (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
- at File.initOptions (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/index.js:212:65)
- at new File (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/file/index.js:135:24)
- at Pipeline.transform (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
- at transpile (/home/tomek/Pulpit/STUDIA/ZTI/klient/node_modules/babel-loader/lib/index.js:48:20)
- 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