首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Salesforce,lwc本地开发服务器崩溃

Salesforce,lwc本地开发服务器崩溃
EN

Stack Overflow用户
提问于 2022-08-16 07:49:39
回答 1查看 147关注 0票数 -1

启动LWC地方发展。用户名:test-lgcvzacysqx3 3@example.com Api版本: 49.0

HPM代理创建:/ -> https://ability-customization-2906-dev-ed.my.salesforce.com HPM订阅http-代理事件:'proxyReq','error',‘关闭’cp:没有这样的文件或目录: /Users/admin/Desktop/suman/force-app/main/default/staticresources/* cp:没有这样的文件或目录: /Users/admin/Desktop/suman/force-app/main/default/contentassets/* LWR6003:侦听:3333Serverup on http://localhost:3333 LWR6000: Created "f5aff7264b“LWR6001: Writing /Users/admin/Desktop/suman/.localdevserver/webruntime/custom-component/f617504cf1/dev/en-GB/c/myfirstLwc.js.../Users/admin/Desktop/suman/.localdevserver/webruntime/custom-component/f617504cf1/dev/en-GB/c/myfirstLwc.js...:写LWR6001(/Users/admin/.local/share/sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/errors/index.js:28:15) at /Users/admin/.local/share/sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:25:66 at异步刷新(/Users/admin/.local/share/sfdx/client/7.163.0的Object.error超时-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:121:9) { oclif:{ exit: 2 },代码:未定义} CLIError:在/Users/admin/.local/share/sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:25:66的异步刷新(/Users/admin/.CLIError/share/sfdx/client/7)的Object.error上超时.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:121:9) { oclif:{ exit: 2 },代码:未定义} LWR6004:服务器关机错误:在异步刷新(/ /Users/admin/.local/share/sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:25:66 /admin/.LWR6004/共享/ Object.error )的Object.error上超时sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux/index.js:121:9) 10:01:49.554 sfdx力:闪电:lwc:开始以退出代码1结束

错误:本地开发服务器意外退出代码1。

EN

回答 1

Stack Overflow用户

发布于 2022-08-17 17:48:14

我今天也遇到了类似的错误

但是以某种方式使它使用以下解决方案运行

打开下面的路径

C:/Users/UserName/AppData/Local/sfdx/client/7.163.0-ea5a9c6/node_modules/@oclif/core/lib/cli-ux

并编辑异步刷新() index.js文件中的10000到600000方法。

代码语言:javascript
复制
await timeout(flush(), 600000);

希望这能有所帮助。

找到一些here帮助的文章

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73370492

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档