草庐IT

ERR_INTERNET_DISCONNECTED

全部标签

linux - npm install 会导致诸如 npm ERR 之类的错误! Debian 上的 tar.unpack 解压错误

按照Bootstrapdocumentation安装Grunt如图所示,我首先使用npminstall-ggrunt-cli全局安装了grunt-cli,现在我正在尝试执行npminstall,但是只得到错误:root@devvm:/var/www/axit/portfolio/public/bower_components/bootstrap#npminstallnpmERR!tar.unpackuntarerror/root/.npm/wrappy/1.0.1/package.tgznpmERR!tar.unpackuntarerror/root/.npm/wrappy/1.0.1

javascript - Internet Explorer 中的快速 session

我这样配置express-session插件:varexpress=require('express'),session=require('express-session'),uuid=require('node-uuid');varexpiration_day=newDate('9/15/2015'),today=newDate(),session_life=Math.abs(expiration_day.getTime()-today.getTime());varconfig={name:'mycookie',//sessionIDcookienamekey:'mycookie',

javascript - Internet Explorer 中的快速 session

我这样配置express-session插件:varexpress=require('express'),session=require('express-session'),uuid=require('node-uuid');varexpiration_day=newDate('9/15/2015'),today=newDate(),session_life=Math.abs(expiration_day.getTime()-today.getTime());varconfig={name:'mycookie',//sessionIDcookienamekey:'mycookie',

node.js - 加载资源失败:net::ERR_INSECURE_RESPONSE socket.io

我正在通过ssl连接到我的服务器上的一个端口...最近我开始在连接到node.js+socket.io服务器时在chrome上遇到Failedtoloadresource:net::ERR_INSECURE_RESPONSE错误。这里是我的服务器设置代码:varfs=require('fs');varexpress=require('express');varroutes=require('./routes');varhttps=require('https');varpath=require('path');varsocketio=require('socket.io');varut

node.js - 加载资源失败:net::ERR_INSECURE_RESPONSE socket.io

我正在通过ssl连接到我的服务器上的一个端口...最近我开始在连接到node.js+socket.io服务器时在chrome上遇到Failedtoloadresource:net::ERR_INSECURE_RESPONSE错误。这里是我的服务器设置代码:varfs=require('fs');varexpress=require('express');varroutes=require('./routes');varhttps=require('https');varpath=require('path');varsocketio=require('socket.io');varut

Node.js error: ERR_OSSL_EVP_UNSUPPORTED

Node.js17版本的更新日志:2021-10-19,Version17.0.0(Current),@BethGriggsNotableChanges...OpenSSL3.0Node.jsnowincludesOpenSSL3.0,specificallyquictls/opensslwhichprovidesQUICsupport.WithOpenSSL3.0FIPSsupportisagainavailableusingthenewFIPSmodule.FordetailsabouthowtobuildNode.jswithFIPSsupportpleaseseeBUILDING.md

node.js - `yo angular` 给出错误 : npm ERR! 代码 ENOENT npm ERR! errno 34(是的,我已经清理了缓存并设置了 .npmignore)

我试图在一个新的项目目录中运行yoangular,但它在途中的某个地方给了我ENOENT错误。是的,我看过thissimilarquestion,但它的解决方案对我不起作用。在运行yoangular之前,我在空的新项目目录上运行了这些东西:touch.npmignorenpmcacheclearnpmcacheclean但我仍然得到:npmERR!Error:ENOENT,lstat'/home/ubuntu/app_c/node_modules/grunt/internal-tasks/bump.js'npmERR!Ifyouneedhelp,youmayreportthis*ent

node.js - `yo angular` 给出错误 : npm ERR! 代码 ENOENT npm ERR! errno 34(是的,我已经清理了缓存并设置了 .npmignore)

我试图在一个新的项目目录中运行yoangular,但它在途中的某个地方给了我ENOENT错误。是的,我看过thissimilarquestion,但它的解决方案对我不起作用。在运行yoangular之前,我在空的新项目目录上运行了这些东西:touch.npmignorenpmcacheclearnpmcacheclean但我仍然得到:npmERR!Error:ENOENT,lstat'/home/ubuntu/app_c/node_modules/grunt/internal-tasks/bump.js'npmERR!Ifyouneedhelp,youmayreportthis*ent

javascript - SocketIO ERR_CONNECTION_REFUSED

我开始使用NodeJS和Socket.IO。我正在尝试使用NodeJShttp服务器设置一个基本示例并建立与服务器的Socket.IO连接。我也在使用AngularJS,基本上我想要的是,当用户按下按钮时,就会建立与服务器的连接。但是,当我尝试它时,我得到了这个错误GEThttp://localhost/socket.io/?EIO=2&transport=polling&t=1404288173776-3net::ERR_CONNECTION_REFUSED这是我的代码:server.jsvarhttp=require('http');varserver=http.createSer

javascript - SocketIO ERR_CONNECTION_REFUSED

我开始使用NodeJS和Socket.IO。我正在尝试使用NodeJShttp服务器设置一个基本示例并建立与服务器的Socket.IO连接。我也在使用AngularJS,基本上我想要的是,当用户按下按钮时,就会建立与服务器的连接。但是,当我尝试它时,我得到了这个错误GEThttp://localhost/socket.io/?EIO=2&transport=polling&t=1404288173776-3net::ERR_CONNECTION_REFUSED这是我的代码:server.jsvarhttp=require('http');varserver=http.createSer