收藏
回答

启动项目时报错

框架类型 问题类型 操作系统 工具版本
小程序 Bug Windows 1.05.2201240 Windows 64 稳定版

https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html

在代码没有问题的前提下(与生产代码一致),小程序项目启动时报错,求大佬指点该如何解决:

公司前端说是少下了依赖文件,但是来来回回删除新下好多次了都不行

react-reconciler.production.min.js:111 Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at S (react.production.min.js:18)

    at define.push../node_modules/react/cjs/react.production.min.js.exports.useMemo (react.production.min.js:23)

    at Provider (Provider.js:11)

    at rd (react-reconciler.production.min.js:60)

    at fg (react-reconciler.production.min.js:159)

    at eg (react-reconciler.production.min.js:147)

    at Uf (react-reconciler.production.min.js:147)

    at If (react-reconciler.production.min.js:140)

    at react-reconciler.production.min.js:29

    at define.push../node_modules/@tarojs/react/node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.min.js.exports.unstable_runWithPriority (scheduler.production.min.js:19)(env: Windows,mp,1.05.2201240; lib: 2.22.0)

Ie @ react-reconciler.production.min.js:111

c.callback @ react-reconciler.production.min.js:127

Hc @ react-reconciler.production.min.js:37

Pe @ react-reconciler.production.min.js:114

gg @ react-reconciler.production.min.js:153

define.push../node_modules/@tarojs/react/node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.min.js.exports.unstable_runWithPriority @ scheduler.production.min.js:19

dc @ react-reconciler.production.min.js:28

Tf @ react-reconciler.production.min.js:149

If @ react-reconciler.production.min.js:140

(anonymous) @ react-reconciler.production.min.js:29

define.push../node_modules/@tarojs/react/node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.min.js.exports.unstable_runWithPriority @ scheduler.production.min.js:19

dc @ react-reconciler.production.min.js:28

gc @ react-reconciler.production.min.js:29

H @ react-reconciler.production.min.js:28

Nc @ react-reconciler.production.min.js:131

updateContainer @ react-reconciler.production.min.js:181

render @ render.ts:22

render @ render.ts:40

value @ react.ts:246

(anonymous) @ WASubContext.js?t=wechat&s=1645280471426&v=2.22.0:2

we @ WASubContext.js?t=wechat&s=1645280471426&v=2.22.0:2

(anonymous) @ WASubContext.js?t=wechat&s=1645280471426&v=2.22.0:2

(anonymous) @ WASubContext.js?t=wechat&s=1645280471426&v=2.22.0:2

App @ sensorsdata.min.js:1

./src/app.tsx @ app.tsx?574c:12

__webpack_require__ @ bootstrap:79

checkDeferredModules @ bootstrap:45

webpackJsonpCallback @ bootstrap:32

(anonymous) @ app.js:7

p @ WASubContext.js?t=wechat&s=1645280471426&v=2.22.0:2

(anonymous) @ VM312:7

doWhenAllScriptLoaded @ VM303:8492

scriptLoaded @ VM303:8520

(anonymous) @ VM303:8545

load (async)

(anonymous) @ assubloader.js:1

U @ WAServiceMainContext.js:2

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ VM303:8564

(anonymous) @ VM303:8570

loadScripts @ assubloader.js:1

async function (async)

loadScripts @ assubloader.js:1

loadAppResourceScripts @ assubloader.js:1

(anonymous) @ app-service.js:1

Show 4 more frames

WAServiceMainContext.js:2 Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at S (react.production.min.js:18)

    at define.push../node_modules/react/cjs/react.production.min.js.exports.useMemo (react.production.min.js:23)

    at Provider (Provider.js:11)

    at rd (react-reconciler.production.min.js:60)

    at fg (react-reconciler.production.min.js:159)

    at eg (react-reconciler.production.min.js:147)

    at Uf (react-reconciler.production.min.js:147)

    at If (react-reconciler.production.min.js:140)

    at react-reconciler.production.min.js:29

    at define.push../node_modules/@tarojs/react/node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.min.js.exports.unstable_runWithPriority (scheduler.production.min.js:19)(env: Windows,mp,1.05.2201240; lib: 2.22.0)

回答关注问题邀请回答
收藏

1 个回答

  • 阿宝
    阿宝
    2023-01-03

    兄弟有没有解决这个问题,我也遇到了

    2023-01-03
    有用
    回复
登录 后发表内容