Warnings while running `web:dev`
osenvosem opened this issue · comments
Sergey Samsonov commented
osx 10.11
node 6.3.1
WARNING in ./src/shared/stores/ui.js
/Volumes/Data/development/dev/one/src/shared/stores/ui.js
87:14 warning Unexpected console statement no-console
✖ 1 problem (0 errors, 1 warning)
WARNING in ./~/ajv/lib/async.js
Module not found: Error: Cannot resolve module 'regenerator' in /Volumes/Data/development/dev/one/node_modules/ajv/lib
@ ./~/ajv/lib/async.js 95:20-47
WARNING in ./~/ajv/lib/async.js
Module not found: Error: Cannot resolve module 'nodent' in /Volumes/Data/development/dev/one/node_modules/ajv/lib
@ ./~/ajv/lib/async.js 116:26-48
WARNING in ./~/ajv/lib/compile/index.js
Module not found: Error: Cannot resolve module 'js-beautify' in /Volumes/Data/development/dev/one/node_modules/ajv/lib/compile
@ ./~/ajv/lib/compile/index.js 8:42-69
webpack: bundle is now VALID.
[BS] Proxying: http://localhost:3000
[BS] Access URLs:
----------------------------------
Local: http://localhost:3100
External: http://10.0.0.3:3100
----------------------------------
UI: http://localhost:3001
UI External: http://10.0.0.3:3001
----------------------------------
route: /
Warning: Unknown prop `onTouchTap` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in div (created by Overlay)
in Overlay (created by Drawer)
in div (created by Drawer)
in Drawer (created by AppNav)
in AppNav (created by AppLayout)
in div (created by MatchMediaProvider)
in MatchMediaProvider (created by AppLayout)
in AppLayout (created by RouterContext)
in RouterContext
in ContextProvider
in MuiThemeProvider
route: /favicon.ico
Claudio S. commented
Duplicate of: #22
They are not errors but warnings.
The onTouchTap
warning is shown because we don't call injectTapEventPlugin()
in development mode.
The warnings related to ajv
can be removed using the webpack IgnorePlugin
.
I think I have to add it to the webpack config because it seems many people are annoyed about these warnings.
Claudio S. commented
AJV Warnings Removed 246f71e /
rfx-stack/webpack/config.client.js
Line 12 in 246f71e