由于配置,弹性APM代理处于非活动状态。这是什么意思?

时间:2018-03-29 08:53:19

标签: javascript node.js reactjs express redux

当我想要启动应用时,当我输入npm run server时,我遇到了问题。错误信息如下:

opbeans@1.0.0 server /home/rahmat/independentProject/sample/sample3/opbeannode server.js

Elastic APM agent is inactive due to configuration
server is listening on port 3001

events.js:183
      throw er; // Unhandled 'error' event
      ^

弹性APM代理由于配置而处于非活动状态,这是什么意思?

也许有人可以帮助我,请...

这是package.json:

  

{
    “名字”:“opbeans”,
    “版本”:“1.0.0”,
    “描述”:“Opbeans库存管理系统”,
    “main”:“server.js”,
    “依赖”:{
      “全部结果”:“^ 2.0.0”,
      “body-parser”:“^ 1.15.2”,
      “同时”:“^ 3.1.0”,
      “detect-port”:“^ 1.2.2”,
      “elastic-apm-node”:“^ 1.3.0”,
      “表达”:“^ 4.14.0”,
      “pg”:“^ 6.1.2”,
      “redis”:“^ 2.6.3”,
      “请求”:“^ 2.79.0”,
      “webpack”:“^ 4.3.0”,
      “webpack-dev-server”:“^ 3.1.1”,
      “工作量”:“^ 2.3.0”
    },
    “devDependencies”:{
      “dotenv”:“^ 4.0.0”,
      “react-dev-utils”:“^ 5.0.0”,
      “react-scripts”:“^ 1.1.1”,
      “标准”:“^ 10.0.2”
    },
    “剧本”:{
      “db-setup”:“。/ db / setup.sh”,
      “test”:“标准 .js服务器/ / .js db / / * .js”,
      “server”:“node server.js”,
      “client”:“npm run start --prefix client /”,
      “client-build”:“npm run build --prefix client /”,
      “client-install”:“npm install --prefix client /”,
      “postinstall”:“。/ client / build-client.sh”,
      “start”:“并发”npm run server \“\”npm run client \“”,
      “工作量”:“工作量-f .workload.js”
    }

0 个答案:

没有答案