叽哩呱啦
叽哩呱啦
  • 发布:2021-03-12 01:36
  • 更新:2021-03-12 01:36
  • 阅读:1144

【报Bug】重复出现 进程已崩溃 , 然后h5浏览器不刷新,一直等待,只能重启服务

分类:uniCloud

产品分类: uniCloud/App

操作步骤:

h5 chrome 浏览调试,链接云端函数

预期结果:

h5 chrome 一直能调试运行开发

实际结果:

日志中看到 进程已崩溃 时,浏览器再也服务正常运行

bug描述:

{description=存储文档 ID,系统自动生成}
{title=唯一ID, bsonType=string, description=角色唯一标识,不可修改,不允许重复, trim=both}
{title=名称, bsonType=string, description=角色名称, trim=both}
{title=权限, bsonType=array, foreignKey=uni-id-permissions.permission_id, description=角色拥有的权限列表}
{description=存储文档 ID,系统自动生成}
{bsonType=string, description=权限唯一标识,不可修改,不允许重复, label=权限标识, trim=both, title=权限ID, component={name=input}}
{bsonType=string, description=权限名称, label=权限名称, title=权限名称, trim=both, component={name=input}}
{bsonType=string, description=备注, label=备注, title=备注, trim=both, component={name=textarea}}
{bsonType=timestamp, description=创建时间, forceDefaultValue={$env=now}}
{title=备注, bsonType=string, description=备注, trim=both}
{bsonType=timestamp, description=创建时间, forceDefaultValue={$env=now}}
2021-03-12 01:24:28.404 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
{description=ID,系统自动生成}
{bsonType=string, description=手机号码, title=手机号码, pattern=^+?[0-9-]{3,20}$, trim=both}
{bsonType=string, description=邮箱}
{bsonType=string, description=真实姓名,不显示}
{bsonType=string, description=艺名,显示}
{bsonType=string, description=个人描述}
{bsonType=string, description=艺术照}
{bsonType=string, description=验证状态常, defaultValue=, title=验证状态}
{bsonType=int, description=大到小排序}
{bsonType=timestamp, description=创建时间}
{description=存储文档 ID(用户 ID),系统自动生成}
{bsonType=string, title=字典名称, description=字典名称, trim=both, defaultValue=}
{bsonType=string, title=字典描述, description=字典描述, trim=both, defaultValue=}
{bsonType=string, title=父级Id, description=父表Id, trim=both, defaultValue=}
{bsonType=int, description=扩展1字段, defaultValue=0.0}
{bsonType=int, description=扩展2字段, defaultValue=0.0}
{bsonType=int, description=扩展3字段, defaultValue=0.0}
{bsonType=int, description=扩展4字段, defaultValue=0.0}
{bsonType=string, description=扩展1字段, defaultValue=}
{bsonType=string, description=扩展2字段, defaultValue=}
{bsonType=string, description=扩展3字段, defaultValue=}
{bsonType=string, description=扩展4字段, defaultValue=}
2021-03-12 01:28:44.164 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:28:53.130 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
2021-03-12 01:28:54.057 [WARNING:] [PluginHost] { Error: spawn npm.cmd ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn npm.cmd',
path: 'npm.cmd',
spawnargs: [ '-v' ] }

2021-03-12 01:28:54.458 [INFO:] node "D:/soft/HBuilderX/plugins/node/node.exe"
2021-03-12 01:28:54.468 [INFO:] args ("--max-old-space-size=2048", "D:/soft/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")
2021-03-12 01:30:23.374 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
2021-03-12 01:30:26.639 [WARNING:] [PluginHost] { Error: spawn npm.cmd ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn npm.cmd',
path: 'npm.cmd',
spawnargs: [ '-v' ] }

2021-03-12 01:30:27.085 [INFO:] node "D:/soft/HBuilderX/plugins/node/node.exe"
2021-03-12 01:30:27.096 [INFO:] args ("--max-old-space-size=2048", "D:/soft/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")
2021-03-12 01:32:03.665 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:32:05.801 [WARNING:] QMetaObject::connectSlotsByName: No matching signal for on_finalButton_clicked()
2021-03-12 01:32:05.813 [WARNING:] QMetaObject::connectSlotsByName: No matching signal for on_locationEdit_textEdited(QString)
2021-03-12 01:32:05.824 [WARNING:] QMetaObject::connectSlotsByName: No matching signal for on_templateButton_clicked()
2021-03-12 01:32:05.925 [WARNING:] FileWizard::checkSelfTemplateDir, addPath fail, path= ""
2021-03-12 01:32:08.961 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:32:42.812 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:32:44.993 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:32:46.928 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-03-12 01:32:52.040 [INFO:] attachment path: "D:/dcloud/src/uniCloudAdmin/文化馆/uniCloud-aliyun/cloudfunctions/uni-admin"

2021-03-12 01:32:52.055 [INFO:] check index.js completed.
2021-03-12 01:32:52.066 [INFO:] check dependencies whether in common dir
2021-03-12 01:32:52.076 [INFO:] message: ""

2021-03-12 01:32:52.090 [INFO:] message: ""
2021-03-12 01:32:52.099 [INFO:] local dependencies size: 2

2021-03-12 01:32:52.109 [INFO:] upload cloud function temp dir: "C:/Users/batu/AppData/Local/Temp/HBuilder X-GN2aKw"

2021-03-12 01:32:52.190 [INFO:] copy files in upload cloud function process

2021-03-12 01:32:52.206 [INFO:] npm install in upload function process

2021-03-12 01:33:03.469 [INFO:] error: "未知的错误"
2021-03-12 01:33:03.479 [INFO:] standard output: ""
2021-03-12 01:33:03.488 [INFO:] standard error: "npm notice created a lockfile as package-lock.json. You should commit this file.\nnpm WARN uni-admin@1.0.0 No description\nnpm WARN uni-admin@1.0.0 No repository field.\n\n"
2021-03-12 01:33:03.498 [INFO:] output: "up to date in 0.274s\n"
2021-03-12 01:33:03.508 [INFO:] aliyun npm install

2021-03-12 01:33:03.525 [INFO:] compress dir with dependencies: "C:/Users/batu/AppData/Local/Temp/HBuilder X-GN2aKw/uni-admin" to: "C:/Users/batu/AppData/Local/Temp/uni-admin.zip"

2021-03-12 01:33:03.826 [INFO:] compress succeed.

2021-03-12 01:33:03.848 [INFO:] cloud function attachment: "C:/Users/batu/AppData/Local/Temp/uni-admin.zip"

2021-03-12 01:33:03.860 [INFO:] cloud function attachment variant: QVariant(QUrl, QUrl("file:///C:/Users/batu/AppData/Local/Temp/uni-admin.zip"))

2021-03-12 01:33:15.304 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"

2021-03-12 01:36 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复