📅  最后修改于: 2022-03-11 15:00:27.893000             🧑  作者: Mango
In my case (using Webpack) it was the difference between:
import {MyComponent} from '../components/xyz.js';
vs
import MyComponent from '../components/xyz.js';
The second one works while the first is causing the error. Or the opposite.