Turned out to be an issue with Webpack just not resolving an import – talk about horrible horrible error messages 🙁
// I Had to change:
import DoISuportIt from 'components/DoISuportIt';
// to (notice the missing `./`)
import DoISuportIt from './components/DoISuportIt';
More Related Contents:
- Pass command line args to npm scripts in package.json
- Do I need both package-lock.json and package.json?
- npm equivalent of yarn resolutions?
- Error: EPERM: operation not permitted, unlink ‘D:\Sources\**\node_modules\fsevents\node_modules\abbrev\package.json’
- How can I reference package version in npm script?
- What does “npm audit fix” exactly do?
- webpack is not recognized as a internal or external command,operable program or batch file
- How to avoid React loading twice with Webpack when developing
- How to set environment variables from within package.json?
- Is there a way to get version from package.json in nodejs code?
- What is the difference between “npm install” and “npm ci”?
- How to use private Github repo as npm dependency
- how to install multiple versions of package using npm
- Angular 6 many Can’t resolve errors (crypto, fs, http, https, net, path, stream, tls, zlib)
- How to fix SSL certificate error when running Npm on Windows?
- Typescript react – Could not find a declaration file for module ”react-materialize’. ‘path/to/module-name.js’ implicitly has an any type
- Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
- Error ‘tunneling socket’ while executing npm install
- create-react-app dependency version issues with React 18
- In the `import` syntax of ES6, how is a module evaluated exactly?
- How to make the webpack dev server run on port 80 and on 0.0.0.0 to make it publicly accessible?
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- How to set env var for .npmrc use
- Running Mocha 6 ES6 tests with Babel 7, how to set up?
- What’s the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file?
- How do I decide whether @types/* goes into `dependencies` or `devDependencies`?
- How to pass .env file variables to webpack config?
- How can I fix the “BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default" error?
- Webpack how to build production code and how to use it
- How to solve npm install error “npm ERR! code 1”