BREAKING CHANGE: The request '/这里是什么无所谓/' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
BREAKING CHANGE: The request '/这里是什么无所谓/' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
主要是代码是这样的应用的
import xx from 'xx'
没有文件后缀名没有出现的错误相关的讨论在这里
解决方法