Skip to content

报错 TypeError: Cannot delete property 'toString' of function () { [native code] } #161

@sea-lanya

Description

@sea-lanya
 TypeError: Cannot delete property 'toString' of function () { [native code] }

更换插件版本,开发工具版本,错误依旧

移除插件后, 小程序正常。

启用独立域进行调试,正常。

真机测试,白屏

报错详情

VM2146:9 app.js错误:
 TypeError: Cannot delete property 'toString' of function () { [native code] }
    at module2.exports (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22881)
    at Object.197.../internals/create-non-enumerable-property (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22889)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.139.../internals/copy-constructor-properties (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:21795)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.261.../internals/export (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:24775)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714(env: macOS,mp,1.06.2208010; lib: 2.26.0)
(anonymous) @ VM2146:9
doWhenAllScriptLoaded @ VM2127:163
scriptLoaded @ VM2127:191
(anonymous) @ VM2127:216
Promise.then (async)
(anonymous) @ VM2127:237
(anonymous) @ VM2127:241
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ VM2122:1
t.loadScripts @ VM16 asdebug.js:10
loadAppService @ VM16 asdebug.js:10
messagerCallback @ VM16 asdebug.js:10
(anonymous) @ VM16 asdebug.js:1
f @ VM16 asdebug.js:1
g @ VM16 asdebug.js:1
(anonymous) @ VM16 asdebug.js:1
_ws.onmessage @ VM16 asdebug.js:1
VM2082 WAService.js:1 TypeError: Cannot delete property 'toString' of function () { [native code] }
    at module2.exports (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22881)
    at Object.197.../internals/create-non-enumerable-property (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22889)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.139.../internals/copy-constructor-properties (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:21795)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.261.../internals/export (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:24775)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714(env: macOS,mp,1.06.2208010; lib: 2.26.0)
errorReport @ VM2082 WAService.js:1
thirdErrorReport @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
u @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
_privEmit @ VM2082 WAService.js:1
emit @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
xe @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
xe @ VM2082 WAService.js:1
onLoad @ VM2082 WAService.js:1
ee @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
emit @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
c @ VM16 asdebug.js:10
r @ VM16 asdebug.js:10
window.onerror @ VM2072:10
doWhenAllScriptLoaded @ VM2127:163
scriptLoaded @ VM2127:191
(anonymous) @ VM2127:216
error (async)
t.default @ VM2072:10
(anonymous) @ VM2072:10
n @ VM2072:1
(anonymous) @ VM2072:1
(anonymous) @ VM2072:1
VM2082 WAService.js:1 TypeError: Cannot delete property 'toString' of function () { [native code] }
    at module2.exports (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22881)
    at Object.197.../internals/create-non-enumerable-property (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:22889)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.139.../internals/copy-constructor-properties (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:21795)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714
    at Object.261.../internals/export (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:24775)
    at o2 (vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11712)
    at vendor.js?t=wechat&s=1662709174124&v=0c9847aa44cf761ccb80ab79c42f8462:11714(env: macOS,mp,1.06.2208010; lib: 2.26.0)
errorReport @ VM2082 WAService.js:1
thirdErrorReport @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
u @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
_privEmit @ VM2082 WAService.js:1
emit @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
xe @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
xe @ VM2082 WAService.js:1
onLoad @ VM2082 WAService.js:1
ee @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
doWhenAllScriptLoaded @ VM2127:163
scriptLoaded @ VM2127:191
(anonymous) @ VM2127:216
error (async)
(anonymous) @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
(anonymous) @ VM2082 WAService.js:1
VM2082 WAService.js:1 Page "pages/index/index" has not been registered yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions