在login.js中import QRCode from '../utils/weapp.qrcode.esm.js';
这import就报错。
VM4853:4681 页面【pages/login/login]错误:
Error: module 'pages/login/login.js' is not defined, require args is 'pages/login/login.js'
at I (VM4698 WAService.js:1)
at <anonymous>:4678:7
at doWhenAllScriptLoaded (<anonymous>:5007:21)
at Object.scriptLoaded (<anonymous>:5035:5)
at Object.<anonymous> (<anonymous>:5060:22)(env: Windows,mp,1.05.2111300; lib: 2.25.4)
(anonymous) @ VM4853:4681
doWhenAllScriptLoaded @ VM4806:5007
scriptLoaded @ VM4806:5035
(anonymous) @ VM4806:5060
load (async)
(anonymous) @ assubloader.js:1
V @ VM4698 WAService.js:1
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM4806:5079
(anonymous) @ VM4806:5085
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM4802:1
t.loadScripts @ VM13 asdebug.js:1
loadAppService @ VM13 asdebug.js:1
messagerCallback @ VM13 asdebug.js:1
(anonymous) @ VM13 asdebug.js:1
g @ VM13 asdebug.js:1
f @ VM13 asdebug.js:1
(anonymous) @ VM13 asdebug.js:1
_ws.onmessage @ VM13 asdebug.js:1
VM4698 WAService.js:1 Error: module 'pages/login/login.js' is not defined, require args is 'pages/login/login.js'
at I (VM4698 WAService.js:1)
at <anonymous>:4678:7
at doWhenAllScriptLoaded (<anonymous>:5007:21)
at Object.scriptLoaded (<anonymous>:5035:5)
at Object.<anonymous> (<anonymous>:5060:22)(env: Windows,mp,1.05.2111300; lib: 2.25.4)
errorReport @ VM4698 WAService.js:1
thirdErrorReport @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
u @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
_privEmit @ VM4698 WAService.js:1
emit @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
xe @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
xe @ VM4698 WAService.js:1
onLoad @ VM4698 WAService.js:1
ee @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
emit @ VM4698 WAService.js:1
(anonymous) @ VM4698 WAService.js:1
c @ VM13 asdebug.js:1
r @ VM13 asdebug.js:1
window.onerror @ VM4691:1
doWhenAllScriptLoaded @ VM4806:5007
scriptLoaded @ VM4806:5035
(anonymous) @ VM4806:5060
error (async)
t.default @ VM4691:1
168 @ VM4691:1
n @ VM4691:1
(anonymous) @ VM4691:1
(anonymous) @ VM4691:1
VM4698 WAService.js:1 Error: module 'pages/login/login.js' is not defined, require args is 'pages/login/login.js'
at I (VM4698 WAService.js:1)
at <anonymous>:4678:7
at doWhenAllScriptLoaded (<anonymous>:5007:21)
at Object.scriptLoaded (<anonymous>:5035:5)
at Object.<anonymous> (<anonymous>:5060:22)(env: Windows,mp,1.05.2111300; lib: 2.25.4)