ERROR in C:/phpStudy2018/PHPTutorial/WWW/Tms.Web/node_modules/@types/node/globals.d.ts(139,11):
139:11 Interface 'NodeRequire' cannot simultaneously extend types 'Require' and 'RequireFunction'.
Named property 'cache' of types 'Require' and 'RequireFunct
我正尝试在digitalocean上部署我的node.js应用程序。当我像107.170.16.24:3000这样在ip上打开它时,它完美地打开了。
但是,当我在像theconnect.io这样的域名上打开它时。我明白了
This site can’t be reached
www.theconnect.io took too long to respond.
我检查了名称服务器,这些看起来都没问题。谁能告诉我错误在哪里?即使我知道错误的来源,我也可以纠正它。但是,现在我很困惑,我应该在哪里寻找错误。
当我连接我的ubuntu终端并运行"nodemon“命令时。它可以完美地运行,并向
我有以下代码:
<?php
class Node{
public $left,$right;
public $data;
function __construct($data)
{
$this->left=$this->right=null;
$this->data = $data;
}
}
class Solution{
public function insert($root,$data){
if($root==null){
return new