3***@qq.com
3***@qq.com
  • 发布:2021-05-13 18:07
  • 更新:2021-10-22 16:20
  • 阅读:925

【报Bug】19年的vue-cli-uniapp工程,当时用的是node8,运行失败,显示:如手机上HBuilder调试基座未启动,请手动启动..

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: windows 7

HBuilderX版本号: 3.1.12

操作步骤:

运行 运行到手机,基座下载成功,一直在 HBUILderX真机运行 本页面无法独立运行,需与Hbuilderx搭配使用 页面,Hbuilderx 红字17:53:51.506 如手机上HBuilder调试基座未启动,请手动启动...
电脑 windows7 品牌 thinkpad, 工具版本 hbuilder X 3.1.12
手机 华为nave5 pro

如果单独把vue-cli-uniapp 包中src的代码拿出来,重新运行是可以的,但是因为是老项目 很多依赖是通过node8添加,用新版本会各种依赖报错,所以还是希望咱们这边有个反馈

预期结果:

正常调用基座进行真机测试

实际结果:

显示 HBUILderX真机运行 本页面无法独立运行,需与Hbuilderx搭配使用

bug描述:

2021-05-13 17:49:16.261 [INFO:] node "node"
2021-05-13 17:49:16.266 [INFO:] args ("--max-old-space-size=2048", "E:/uniapp/node_modules/@vue/cli-service/bin/vue-cli-service.js", "uni-build", "--watch")
2021-05-13 17:51:01.642 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2021-05-13 17:51:02.896 [WARNING:] QCoreApplication::postEvent: Unexpected null receiver
2021-05-13 17:51:06.641 [WARNING:] "Can't Not Find Grammar text.slm ! "
2021-05-13 17:51:06.679 [WARNING:] "Can't Not Find Grammar source.less ! "
2021-05-13 17:51:06.690 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2021-05-13 17:51:06.697 [WARNING:] "Can't Not Find Grammar source.python ! "
2021-05-13 17:51:06.706 [WARNING:] "Can't Not Find Grammar source.postcss ! "
2021-05-13 17:51:06.716 [WARNING:] "Can't Not Find Grammar selectors ! "
2021-05-13 17:51:06.726 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2021-05-13 17:51:06.732 [WARNING:] "Can't Not Find Grammar source.livescript ! "

2021-05-13 17:51:19 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:33 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:33 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:50 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:50 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
2021-05-13 17:51:53.075 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread

2021-05-13 17:51:53 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:54 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:56 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:51:58 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2021-05-13 17:52:03 [LanguageServerProcess] java.lang.NullPointerException
at com.pandora.language.js.PagesIndexingParticipant.requestIndex(PagesIndexingParticipant.java:74)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.offlineIndex(AbstractRemoteFileIndexingParticipant.java:100)
at io.dcloud.index.core.AbstractRemoteFileIndexingParticipant.index(AbstractRemoteFileIndexingParticipant.java:93)
at io.dcloud.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:298)
at io.dcloud.index.core.IndexUrisJob.run(IndexUrisJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
2021-05-13 17:52:32.628 [WARNING:] QProcess: Destroyed while process ("C:\Users\Administrator\Downloads\HBuilderX.3.1.12.20210428.full\HBuilderX\plugins\jre\bin\java.exe") is still running.
2021-05-13 17:52:32.712 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
2021-05-13 17:52:34.823 [INFO:] node "node"
2021-05-13 17:52:34.827 [INFO:] args ("--max-old-space-size=2048", "E:/uniapp/node_modules/@vue/cli-service/bin/vue-cli-service.js", "uni-build", "--watch")
2021-05-13 17:53:42.477 [WARNING:] Request Timeout( 30000 )!!! when: "launcher/runDevice"

2021-05-13 18:07 负责人:无 分享
已邀请:
liaol

liaol

我也遇到同样的问题,请你楼主解决了吗?感觉是项目太大了,内存不够导致的,不知道哪里可以设置vue-cli-service.js 内存参数

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