Typescript react – Could not find a declaration file for module ”react-materialize’. ‘path/to/module-name.js’ implicitly has an any type

I am trying to import components from react-materialize as – import {Navbar, NavItem} from ‘react-materialize’; But when the webpack is compiling my .tsx it throws an error for the above as – ERROR in ./src/common/navbar.tsx (3,31): error TS7016: Could not find a declaration file for module ‘react-materi alize’. ‘D:\Private\Works\Typescript\QuickReact\node_modules\react-materialize\l ib\index.js’ implicitly has an ‘any’ type. … Read more

Field ‘browser’ doesn’t contain a valid alias configuration

I’ve started using webpack2 (to be precise, v2.3.2) and after re-creating my config I keep running into an issue I can’t seem to solve I get (sorry in advance for ugly dump): ERROR in ./src/main.js Module not found: Error: Can’t resolve ‘components/DoISuportIt’ in ‘[absolute path to my repo]/src’ resolve ‘components/DoISuportIt’ in ‘[absolute path to my … Read more