今天在使用命令行启动egg项目,执行 npm run dev时总是报错

2020-06-11 10:44:32,332 ERROR 11104 nodejs.AgentWorkerDiedError: [master] agent_worker#1:9544 died (code: 1, signal: null)at Master.onAgentExit (E:\egg项目\egg-wechat\node_modules\egg-cluster\lib\master.js:425:17)at emitOne (events.js:116:13)at Master.emit (events.js:211:7)at Messenger.sendToMaster (E:\egg项目\egg-wechat\node_modules\egg-cluster\lib\utils\messenger.js:137:17)at Messenger.send (E:\egg项目\egg-wechat\node_modules\egg-cluster\lib\utils\messenger.js:102:12)at ChildProcess.agentWorker.once (E:\egg项目\egg-wechat\node_modules\egg-cluster\lib\master.js:289:22)at Object.onceWrapper (events.js:317:30)at emitTwo (events.js:126:13)at ChildProcess.emit (events.js:214:7)at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
name: "AgentWorkerDiedError"
pid: 11104
hostname: LAPTOP-08CSJGSV2020-06-11 10:44:32,345 ERROR 11104 [master] agent_worker#1:9544 start fail, exiting with code:1
2020-06-11 10:44:32,347 ERROR 11104 [master] exit with code:1
{ Error: E:\egg项目\egg-wechat\node_modules\egg-bin\lib\start-cluster {"typescript":false,"declarations":true,"workers":1,"baseDir":"E:\\egg项目\\egg-wechat","framework":"E:\\egg项目\\egg-wechat\\node_modules\\egg"} exit with code 1at ChildProcess.proc.once.code (E:\egg项目\egg-wechat\node_modules\common-bin\lib\helper.js:56:21)at Object.onceWrapper (events.js:317:30)at emitTwo (events.js:126:13)at ChildProcess.emit (events.js:214:7)at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) code: 1 }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wechat@1.0.0 dev: `egg-bin dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wechat@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\L\AppData\Roaming\npm-cache\_logs\2020-06-11T02_44_32_398Z-debug.log

仔细看第一行的报错原因,百度了下发现是sequelize的错误。可是我在前一天晚上都还用的好好的,怎么会突然报错了?

因此我查看项目目录下   logs/common-error文件   这个目录是用来记录sequelize的报错的。第一个便是今天的日期

它的报错原因

仔细看说是连接超时,那就瞬间懂了。是我本地的mysql服务没有开启。因为我用的upupwank的工具,因此我打开之后开启所有服务,再输入npm run dev  项目运行

启动egg项目时报错ERROR 11104 nodejs AgentWorkerDiedError [master] agent_worker#1:9544 died (code : 1, signa相关推荐

  1. 启动Maven程序时报错 Error executing Maven

    启动Maven程序时报错 Error executing Maven 异常信息 [INFO] Error stacktraces are turned on. [ERROR] Error execut ...

  2. 启动vue项目时报错:digital envelope routines::unsupported

    今天把node.js升级到了最新版v18.12.1,启动以前的vue项目时报错:digital envelope routines::unsupported,在网上查询了解决方法,记录下 1.原因: ...

  3. 使用 IDEA 创建 SpringBoot 项目时报错 Error parsing JSON response 解决方案【全】

    环境 IDEA 2020.1 macOS 10.15.3 JDK 1.8 问题 在使用 IDEA 创建 Springboot 项目或模块时,报如下错误: 或 测试访问 https://start.sp ...

  4. 项目报错error:0308010C:digital envelope routines::unsupported

    描述 在终端使用npm指令运行项目时报错error:0308010C:digital envelope routines::unsupported 原因 出现这个错误是因为 node.js V17版本 ...

  5. vue项目启动时报错 Error: listen EADDRNOTAVAIL: address not available 192.168.0.102:9003

    vue项目启动时报错 Error: listen EADDRNOTAVAIL: address not available 192.168.0.102:9003 先说一下问题,我的vue项目本地启动时 ...

  6. 关于 编译QT项目时报错: error: cannot find -lGL 的解决方法

    若该文为原创文章,转载请注明原文出处 本文章博客地址:https://hpzwl.blog.csdn.net/article/details/78260169 红胖子(红模仿)的博文大全:开发技术集合 ...

  7. Jenkins构建项目时报错“message“:“Error processing tar file(exit status 1): write/xxx/no space left on device

    文章目录 推荐文章 问题描述 原因分析: 解决方案: 1.查看磁盘占用情况 2.删除没有在用的镜像和容器 3.查找当前目录每个文件夹大小 推荐文章 Jenkins整合SpringCloud+GitLa ...

  8. solr 集成web项目后 执行查询时报错Error from server at http://localhost:8080/solr/collection1

    solr 集成web项目后 执行查询时报错Error from server at http://localhost:8080/solr/collection1 本Markdown编辑器使用Stack ...

  9. 安装启动azkaban的server和executor时报错Error:Could not initialize class org.apache.derby.jdbc.AutoloadedDrive

    问题描述: 安装启动azkaban的server和executor时报错Error:Could not initialize class org.apache.derby.jdbc.Autoloade ...

最新文章

  1. 柱坐标系下的ns方程_笛卡尔坐标系到底是什么?
  2. python将文件夹打包
  3. 帮助理解GAN的一些补充内容
  4. VHD安装的Win7 X64系统迁移到VMware虚拟机(P2V)...
  5. java实验1_Java程序实验1
  6. JMX 简介 和 实例
  7. MyBatis复习(十):注解开发
  8. 新东方年会diss老板节目爆红!俞敏洪:奖励12万
  9. JSP自定义标签rtexprvalue属性 1
  10. qwidget show 是否有信号_QT中的消息传递与函数回调机制:信号(signal)和槽(slot)...
  11. 四面快手归来,分享Java真题及面经:策略模式+红黑树+Java锁+Redis+Kafka等分布式
  12. C rgb565转rgb888
  13. 在 Laravel 项目中使用 Elasticsearch 做引擎,scout 全文搜索(小白出品, 绝对白话)
  14. android旅游视频播放,VPlayer视频播放器
  15. 图解PhotoView,从“百草园”到“三味书屋”!
  16. oracle 按天数统计数据
  17. 计算机不识别u盘什么原因,电脑不识别u盘怎么回事
  18. 你全记住了 ,你就是老中医
  19. iOS中录屏库ReplayKit的详尽使用总结
  20. 程序“媛”公号,越来越少了,这次推荐俩,轻拍!

热门文章

  1. input改为number类型,去掉上下箭头
  2. 【地图学】 一、ArcGIS 10.7的安装
  3. Cubase Artist 10 for Mac Download PJ版下载安装
  4. TokenGazer CEO 范宏达:区块链技术助力工业供应链数字化转型
  5. Qt OpenGL(二十八)——Qt OpenGL 核心模式-绘制一个正方体(正六面体)
  6. 行车记录仪 方案 主控芯片
  7. Jon Skeet's C# and .NET articles and links
  8. 小程序如何保存用户信息(保持登录状态)?
  9. Centos 7安装UHD教程
  10. 【题解:vijos1488 路灯改建计划】