We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suspect the project has been abandoned.
I attempted to use this package with a React v16 project.
My code:
import Add from "mui-icons/mdi/add"; ... const ActionButton = () => ( <FloatingActionButton zDepth={4} style={styles.actionButton}> <Link to="/item/new" style={{ lineHeight: "inherit", height: "inherit" }}> <FontIcon> <Add /> </FontIcon> </Link> </FloatingActionButton> );
I get the following error in my console:
sockjs.js?3600:1601 XHR finished loading: GET "https://localhost:3000/sockjs-node/info?t=1512001142733". AbstractXHRObject._start @ sockjs.js?3600:1601 (anonymous) @ sockjs.js?3600:1490 setTimeout (async) AbstractXHRObject @ sockjs.js?3600:1489 XHRLocalObject @ sockjs.js?3600:2910 InfoAjax @ sockjs.js?3600:356 InfoReceiver._getReceiver @ sockjs.js?3600:536 InfoReceiver.doXhr @ sockjs.js?3600:556 (anonymous) @ sockjs.js?3600:525 setTimeout (async) InfoReceiver @ sockjs.js?3600:524 SockJS @ sockjs.js?3600:730 socket @ socket.js?e5d0:9 (anonymous) @ client?2893:200 (anonymous) @ client?2893:242 ./node_modules/webpack-dev-server/client/index.js?https://0.0.0.0:3000 @ bundle.js:17691 __webpack_require__ @ bundle.js:679 fn @ bundle.js:89 1 @ bundle.js:18461 __webpack_require__ @ bundle.js:679 (anonymous) @ bundle.js:725 (anonymous) @ bundle.js:728 11:19:06.520 plus.js?c6e3:24 Uncaught TypeError: _react2.default.createElement is not a function at Icon (plus.js?c6e3:24) at mountIndeterminateComponent (react-dom.development.js?cada:8058) at beginWork (react-dom.development.js?cada:8249) at performUnitOfWork (react-dom.development.js?cada:10244) at workLoop (react-dom.development.js?cada:10308) at HTMLUnknownElement.callCallback (react-dom.development.js?cada:540) at Object.invokeGuardedCallbackDev (react-dom.development.js?cada:579) at invokeGuardedCallback (react-dom.development.js?cada:436) at renderRoot (react-dom.development.js?cada:10386) at performWorkOnRoot (react-dom.development.js?cada:11000) Icon @ plus.js?c6e3:24 mountIndeterminateComponent @ react-dom.development.js?cada:8058 beginWork @ react-dom.development.js?cada:8249 performUnitOfWork @ react-dom.development.js?cada:10244 workLoop @ react-dom.development.js?cada:10308 callCallback @ react-dom.development.js?cada:540 invokeGuardedCallbackDev @ react-dom.development.js?cada:579 invokeGuardedCallback @ react-dom.development.js?cada:436 renderRoot @ react-dom.development.js?cada:10386 performWorkOnRoot @ react-dom.development.js?cada:11000 performWork @ react-dom.development.js?cada:10952 requestWork @ react-dom.development.js?cada:10861 scheduleWorkImpl @ react-dom.development.js?cada:10744 scheduleWork @ react-dom.development.js?cada:10706 enqueueSetState @ react-dom.development.js?cada:6204 Component.setState @ react.development.js?99ee:226 onStateChange @ connectAdvanced.js?4805:205 dispatch @ createStore.js?6413:173 dispatch @ VM19186:2 (anonymous) @ index.js?e2e7:14 (anonymous) @ index.js?f9f6:55 (anonymous) @ index.js?f6ab:22 dispatch @ VM19186:2 (anonymous) @ UserManager.js?ab30:155 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 UserManager.setCurrentUser @ UserManager.js?ab30:129 (anonymous) @ UserManager.js?ab30:560 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 cognitoUser.getSession @ UserManager.js?ab30:529 getSession @ CognitoUser.js?7b7c:971 (anonymous) @ UserManager.js?ab30:529 (anonymous) @ UserManager.js?ab30:522 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ Main.js?9492:105 step @ Main.js:21 (anonymous) @ Main.js:21 (anonymous) @ Main.js:21 callComponentWillMount @ react-dom.development.js?cada:6357 mountClassInstance @ react-dom.development.js?cada:6413 updateClassComponent @ react-dom.development.js?cada:7869 beginWork @ react-dom.development.js?cada:8253 performUnitOfWork @ react-dom.development.js?cada:10244 workLoop @ react-dom.development.js?cada:10308 callCallback @ react-dom.development.js?cada:540 invokeGuardedCallbackDev @ react-dom.development.js?cada:579 invokeGuardedCallback @ react-dom.development.js?cada:436 renderRoot @ react-dom.development.js?cada:10386 performWorkOnRoot @ react-dom.development.js?cada:11000 performWork @ react-dom.development.js?cada:10952 requestWork @ react-dom.development.js?cada:10861 scheduleWorkImpl @ react-dom.development.js?cada:10744 scheduleWork @ react-dom.development.js?cada:10706 scheduleTopLevelUpdate @ react-dom.development.js?cada:11177 updateContainer @ react-dom.development.js?cada:11215 (anonymous) @ react-dom.development.js?cada:15232 unbatchedUpdates @ react-dom.development.js?cada:11086 renderSubtreeIntoContainer @ react-dom.development.js?cada:15231 render @ react-dom.development.js?cada:15296 renderApp @ index.js?9552:38 (anonymous) @ index.js?9552:51 (anonymous) @ index.js:64 ./src/index.js @ bundle.js:17920 __webpack_require__ @ bundle.js:679 fn @ bundle.js:89 1 @ bundle.js:18464 __webpack_require__ @ bundle.js:679 (anonymous) @ bundle.js:725 (anonymous) @ bundle.js:728 11:19:06.526 react-dom.development.js?cada:9769 The above error occurred in the <Icon> component: in Icon in span (created by FontIcon) in FontIcon in a (created by Link) in Link in div (created by FloatingActionButton) in div (created by TouchRipple) in TouchRipple (created by EnhancedButton) in button (created by EnhancedButton) in EnhancedButton (created by FloatingActionButton) in div (created by Paper) in Paper (created by FloatingActionButton) in FloatingActionButton in ActionButton in div in div in MediaQuery (created by Default) in Default in div in DefaultLayout in DashboardPage (created by Connect(DashboardPage)) in Connect(DashboardPage) (created by Route) in Route (created by withRouter(Connect(DashboardPage))) in withRouter(Connect(DashboardPage)) (created by Route) in Route (created by PrivateRoute) in PrivateRoute (created by Connect(PrivateRoute)) in Connect(PrivateRoute) (created by RouteList) in Switch in RouteList (created by Route) in Route (created by withRouter(RouteList)) in withRouter(RouteList) in Router (created by BrowserRouter) in BrowserRouter in MuiThemeProvider in Provider in Main (created by Connect(Main)) in Connect(Main) Consider adding an error boundary to your tree to customize error handling behavior. Visit https://fb.me/react-error-boundaries to learn more about error boundaries. logCapturedError @ react-dom.development.js?cada:9769 captureError @ react-dom.development.js?cada:10560 renderRoot @ react-dom.development.js?cada:10411 performWorkOnRoot @ react-dom.development.js?cada:11000 performWork @ react-dom.development.js?cada:10952 requestWork @ react-dom.development.js?cada:10861 scheduleWorkImpl @ react-dom.development.js?cada:10744 scheduleWork @ react-dom.development.js?cada:10706 enqueueSetState @ react-dom.development.js?cada:6204 Component.setState @ react.development.js?99ee:226 onStateChange @ connectAdvanced.js?4805:205 dispatch @ createStore.js?6413:173 dispatch @ VM19186:2 (anonymous) @ index.js?e2e7:14 (anonymous) @ index.js?f9f6:55 (anonymous) @ index.js?f6ab:22 dispatch @ VM19186:2 (anonymous) @ UserManager.js?ab30:155 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 UserManager.setCurrentUser @ UserManager.js?ab30:129 (anonymous) @ UserManager.js?ab30:560 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 Promise resolved (async) step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 cognitoUser.getSession @ UserManager.js?ab30:529 getSession @ CognitoUser.js?7b7c:971 (anonymous) @ UserManager.js?ab30:529 (anonymous) @ UserManager.js?ab30:522 step @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ UserManager.js:20 (anonymous) @ Main.js?9492:105 step @ Main.js:21 (anonymous) @ Main.js:21 (anonymous) @ Main.js:21 callComponentWillMount @ react-dom.development.js?cada:6357 mountClassInstance @ react-dom.development.js?cada:6413 updateClassComponent @ react-dom.development.js?cada:7869 beginWork @ react-dom.development.js?cada:8253 performUnitOfWork @ react-dom.development.js?cada:10244 workLoop @ react-dom.development.js?cada:10308 callCallback @ react-dom.development.js?cada:540 invokeGuardedCallbackDev @ react-dom.development.js?cada:579 invokeGuardedCallback @ react-dom.development.js?cada:436 renderRoot @ react-dom.development.js?cada:10386 performWorkOnRoot @ react-dom.development.js?cada:11000 performWork @ react-dom.development.js?cada:10952 requestWork @ react-dom.development.js?cada:10861 scheduleWorkImpl @ react-dom.development.js?cada:10744 scheduleWork @ react-dom.development.js?cada:10706 scheduleTopLevelUpdate @ react-dom.development.js?cada:11177 updateContainer @ react-dom.development.js?cada:11215 (anonymous) @ react-dom.development.js?cada:15232 unbatchedUpdates @ react-dom.development.js?cada:11086 renderSubtreeIntoContainer @ react-dom.development.js?cada:15231 render @ react-dom.development.js?cada:15296 renderApp @ index.js?9552:38 (anonymous) @ index.js?9552:51 (anonymous) @ index.js:64 ./src/index.js @ bundle.js:17920 __webpack_require__ @ bundle.js:679 fn @ bundle.js:89 1 @ bundle.js:18464 __webpack_require__ @ bundle.js:679 (anonymous) @ bundle.js:725 (anonymous) @ bundle.js:728 11:19:06.530 warning.js?6327:33 Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op. Please check the code for the Main component.
Clone the project, run yarn install, then yarn start:
mui-icons (master|…) yarn start ~/dev/mui-icons yarn run v1.3.2 $ webpack-dev-server --open Project is running at http://localhost:8080/ webpack output is served from / webpack: wait until bundle finished: / (node:27875) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 parseQuery() will be replaced with getOptions() in the next major version of loader-utils. Hash: b2df95d5eca81c25fba6 Version: webpack 2.7.0 Time: 3518ms Asset Size Chunks Chunk Names bundle.js 2.38 MB 0 [emitted] [big] main index.html 182 bytes [emitted] chunk {0} bundle.js (main) 2.17 MB [entry] [rendered] [3] ./~/react/react.js 56 bytes {0} [built] [20] ./~/react-dom/index.js 59 bytes {0} [built] [177] ./src/index.jsx 1.01 kB {0} [built] [178] (webpack)-dev-server/client?http://localhost:8080 7.95 kB {0} [built] [181] ./src/App.jsx 6.5 kB {0} [built] [281] ./~/loglevel/lib/loglevel.js 7.86 kB {0} [built] [308] ./~/material-ui/styles/MuiThemeProvider.js 2.15 kB {0} [built] [409] ./~/react-tap-event-plugin/src/injectTapEventPlugin.js 1.04 kB {0} [built] [437] ./src/style.css 899 bytes {0} [built] [438] ./~/url/url.js 23.3 kB {0} [built] [440] (webpack)-dev-server/client/overlay.js 3.73 kB {0} [built] [441] (webpack)-dev-server/client/socket.js 1.05 kB {0} [built] [443] (webpack)/hot nonrecursive ^\.\/log$ 160 bytes {0} [built] [444] (webpack)/hot/emitter.js 77 bytes {0} [built] [445] multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx 40 bytes {0} [built] + 431 hidden modules ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../cmdi' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 17:12-30 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../evilicons' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 21:17-40 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../fontawesome' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 25:19-44 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../ionicons' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 29:16-38 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../mdi' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 33:11-28 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../octicons' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 37:16-38 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx ERROR in ./src/IconList.jsx Module not found: Error: Can't resolve '../typicons' in '/Users/dan/dev/mui-icons/src' @ ./src/IconList.jsx 41:16-38 @ ./src/App.jsx @ ./src/index.jsx @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.jsx Child html-webpack-plugin for "index.html": chunk {0} index.html 541 kB [entry] [rendered] [0] ./~/lodash/lodash.js 540 kB {0} [built] [1] ./~/html-webpack-plugin/lib/loader.js!./~/html-webpack-plugin/default_index.ejs 538 bytes {0} [built] [2] (webpack)/buildin/global.js 509 bytes {0} [built] [3] (webpack)/buildin/module.js 517 bytes {0} [built] webpack: Failed to compile.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I suspect the project has been abandoned.
I attempted to use this package with a React v16 project.
My code:
I get the following error in my console:
Clone the project, run yarn install, then yarn start:
The text was updated successfully, but these errors were encountered: