我正在处理我的项目,并在运行时环境中使用了pm2-runtime命令,但是在我的终端中运行npm i命令时出现的问题给出了两级警告,分别是 High netmask npm package vulnerable to octal input data
Package netmask
Patched in >=2.0.1
我在使用pm2部署我的项目时遇到一个问题。我在这个问题上看到了几个问题,但它们都是封闭的,没有提出任何解决方案。
我已经成功地执行了这个命令pm2 deploy ecosystem.config.js preproduction setup
但是当我尝试部署pm2 deploy ecosystem.config.js preproduction时
我有这个错误:
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path&
我们在一台服务器上使用4个不同的快捷项目,从每个项目根目录运行pm2 start cmd来启动应用程序。
而使用ec2 Linux服务器,将端口3000、3001添加到入站规则中,运行良好,但无法通过3001访问API,并能在3000年底前访问API,会有什么问题呢?
相同的项目在3000上运行,但在3001中不运行,因此我们可以确认,我们的项目中没有错误。
在终端nodemon app上尝试过,它运行良好,但Postman没有访问它,得到了相同的错误:
Could not get any response
There was an error connecting to http://ec
我将一个项目移到一个活动服务器上,现在我需要像pm2或forever.js这样的东西来运行。
然而,两种命令似乎都不起作用.
forever.js
我运行了这个失败的命令(在一个活动的虚拟环境中):
# forever start scrapyrt -p 5003
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever