sockjs-node/info?t=1462183700002 报错解决方案

首先 sockjs-node 是一个JavaScript库,提供跨浏览器JavaScript的API,创建了一个低延迟、全双工的浏览器和web服务器之间通信通道。

服务端:sockjs-node(https://github.com/sockjs/sockjs-node)
客户端:sockjs-clien(https://github.com/sockjs/sockjs-client)

1. 找到/node_modules/sockjs-client/dist/sockjs.js

2.找到代码的大概1600行

  try {
  //  self.xhr.send(payload); 把这里注掉
  } catch (e) {
    self.emit('finish', 0, '');
    self._cleanup(false);
  }

3.刷新

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
《Ubuntu权威指南》目录 目  录 第1章 系统概述与安装 1 1.1 Linux的兴起与发展 2 1.2 充分利用网上资源 3 1.2.1 Ubuntu官方网站 3 1.2.2 GNU网站 4 1.2.3 Linux文档项目网站 4 1.2.4 网上求助 5 1.3 随时查询随机文档 6 1.3.1 使用“--help”选项查询 命令的简单说明 6 1.3.2 使用man命令联机查询 系统参考手册 6 1.3.3 使用info命令查询命令的相关信息 8 1.4 安装Ubuntu Linux系统 9 1.4.1 安装前的准备 10 1.4.2 安装Ubuntu Linux系统 11 1.4.3 安装后的软件维护与更新 16 第2章 GNOME桌面环境 18 2.1 GNOME桌面环境概述 19 2.1.1 GNOME注册界面 19 2.1.2 GNOME桌面环境 20 2.2 GNOME桌面环境浏览 21 2.2.1 GNOME菜单面板 21 2.2.2 GNOME桌面区 24 2.2.3 GNOME窗口面板 26 2.3 应用程序菜单 27 2.3.1 办公 28 2.3.2 附件 29 2.3.3 互联网 31 2.3.4 图形 33 2.3.5 影音 34 2.3.6 游戏 36 2.3.7 添加/删除软件 36 2.4 位置菜单 36 2.4.1 主文件夹 38 2.4.2 桌面、文档等 39 2.4.3 计算机 39 2.4.4 CD/DVD刻录机 39 2.4.5 磁盘分区 40 2.4.6 网络 40 2.4.7 连接到服务器 41 2.4.8 搜索文件 41 2.4.9 最近的文档 42 2.5 系统菜单 42 2.5.1 首选项 42 2.5.2 系统管理 45 2.5.3 锁住屏幕 51 2.5.4 注销 51 2.5.5 关机 51 2.6 使用移动存储设备 51 2.6.1 浏览移动存储介质 52 2.6.2 写入移动存储介质 53 2.7 定制GNOME桌面环境 54 2.7.1 定制面板 54 2.7.2 定制桌面背景 54 2.7.3 定制菜单面板 55 第3章 命令行基础知识 56 3.1 命令行结构 57 3.2 后台进程 60 3.3 标准输入/标准输出与标准错误 ?输出 61 3.4 输入/输出重定向 61 3.5 管道 65 3.6 元字符与文件名生成 67 3.7 转义与引用 69 3.8 命令历史 72 3.8.1 fc命令 72 3.8.2 history命令 74 3.8.3 重复执行先前的命令 75 3.8.4 编辑并执行校正后的命令 76 3.8.5 命令行补充 77 3.9 命令别名 79 3.10 作业控制 81 3.11 会话记录与命令确认 83 3.11.1 保存会话记录 83 3.11.2 确保使用的命令是 ??正确的 84 第4章 文件系统基础知识 86 4.1 文件系统的层次结构 87 4.1.1 树形层次结构 87 4.1.2 路径名 88 4.2 文件系统的组织结构 88 4.3 文件的类型 92 4.3.1 普通文件 92 4.3.2 目录文件 94 4.3.3 特殊文件 95 4.3.4 链接文件 98 4.3.5 符号链接文件 99 4.3.6 管道文件 101 4.4 文件的安全保护机制 101 4.4.1 显示文件的访问权限 102 4.4.2 修改文件的访问权限 103 4.4.3 设置文件的访问权限 104 4.4.4 其他访问权限设置 106 第5章 文件和目录操作 107 5.1 创建文件 108 5.2 显示文件列表 108 5.2.1 使用ls命令显示文件 列表 108 5.2.2 利用通配符显示文件 110 5.2.3 显示隐藏文件 111 5.2.4 递归地列出文件
Table of Contents Preface 1 Chapter 1: Plugin Basics 5 Safety first 6 Automatic install versus manual install 6 Automatic plugin installation 6 Plugin detail 8 Downloading, unpacking, installing 9 Activating the plugin 9 Connection Information required 10 Manual installation 10 Manually installing a plugin with a Mac 11 Transferring a plugin 12 Manually installing a plugin on Windows 13 Creating a bookmark with WinSCP 16 Transferring a plugin to your blog 16 Activating your plugin 17 Finding a plugin's settings 17 How plugins work 17 Managing plugins 18 Keeping your plugins up-to-date 19 Learn by tinkering 19 WordPress plugin API 19 PHP references 19 CSS 19 JavaScript 20 Troubleshooting plugins 20 Editing plugins 21 Summary 22 Table of Contents [ ii ] Chapter 2: Generating Content 23 GD Star Rating 23 Fixing the default ratings 24 Turning off Thumbs Up/Thumbs Down on posts 24 Turning off Star Ratings on comments 24 Better Tag Cloud 25 Yet Another Related Posts Plugin (YARPP) 26 My Page Order 27 Get Recent Comments 27 Viper's Video Quicktags 28 WP Greet Box 29 NextGen Gallery 30 Setting up your first gallery 31 Adding your gallery to a post or a page 32 Zemanta 32 CForms II 34 CForms administration 35 Modifying the default form 36 Adding your form to a page, post, or widget 36 Advanced CForms customizations 37 File upload settings 37 Messages, text, and button label 37 Core Form Admin / e-mail options 37 Admin e-mail message options 37 Auto confirmation 37 Multi-part / multi-page forms 37 Tell-A-Friend form support 38 WP comment feature 38 Third-party read-notification support 38 MapPress—Google maps 38 Adding a map to a post or page 39 WP-O-Matic 40 Creating your first campaign 40 Adding feeds 41 Categories 42 Understanding WP-O-Matic's options 42 Search unleashed 43 Setting up your search index 44 Creating your first index 45 WP Web Scrapper 46 Copyright warning 47 Adding a scrapping 47 Summary 48 Table of Contents [ iii ] Chapter 3: Sharing Content 49 TweetMeme 49 Setting up TweetMeme 50 Wordbook 51 WP Download Manager 52 Adding a new download 53 Inserting a download into a post 54 Twiogle Twitter Commenter 54 ShareThis 55 Setting up ShareThis 56 Wibiya Bar - Beta 57 Installing the Wibiya bar 58 WP Facebook Connect 59 Creating an app ID for your blog 59 Adding the connect button to your comments 60 Twitter Friendly Links 61 Feedburner Feedsmith 62 Burning your feed 63 Create a Google account 63 Verify your blog's feed URL 63 Burn your feed 63 Name your feed 64 Configuring WP-Feedburner 64 SendIt 65 SendIt overview 66 Creating your first newsletter 67 Adding subscribers 67 Automatic import 67 SendIt Widget 68 Sending a mail 69 Subscribe-Remind 69 Sociable 70 Understanding social options 71 Disabling sprite usage for images 71 Disabling alpha mask on the share toolbar 71 Tagline 71 Position 71 Use Text Links 72 Image Directory 72 Use Thisbox/iFrame on links 72 Open in New Window 72 Awe.sm 72 Summary 73 Table of Contents [ iv ] Chapter 4: Style and Function 75 About Me Widget 76 Setting up your About Me Widget 76 Category Posts Widget 77 After the Deadline 79 Using After the Deadline 80 WordPress Mobile Pack 80 Mobile themes 82 Browser detection and domain detection 83 Important Mobile Themes settings 83 WPTouch 84 Web App icon 86 Page icons 86 Creating your own icon 86 Push notifications 86 WP-Prowl 86 Setting up WP-Prowl 88 Favicons 88 Setting up your Favicon 90 Picking from the gallery 90 Use your Gravatar as Favicon 91 Using a remote icon 91 Theme Switcher 91 Advanced marketing use 92 Image Widget 92 Post Layout 94 Inserting content 95 Breadcrumb NavXT 96 Inserting the Breadcrumb 97 Basic Breadcrumb 97 Exec-PHP 97 Using Exec-PHP to list your latest tweets 98 Summary 99 Chapter 5: Building a Community with BuddyPress 101 Before setting up BuddyPress 101 Sticking to your Community Purpose 102 BuddyPress 102 BuddyPress features 103 Smooth member signup 103 Twitter-like posting 104 Profiles 105 Table of Contents [ v ] Member communication 105 Forums 106 Groups 106 Members Directory 107 BuddyPress themes 108 Cosmic Buddy 108 BP Nicey 109 Sense and Sensibility BP 1.6 110 More themes 110 BuddyPress plugins 111 Group Documents 111 TweetStream 112 Connecting to Twitter 112 BuddyPress Album+ 114 Setting up your Community Groups 115 Step 1: Group details 115 Step 2: Settings 116 Step 3: Avatar 116 Tips for driving traffic to your community 117 Friends and family 117 Social networks 117 Twitter 118 Facebook 119 Google AdWords 120 Google search 120 Summary 122 Chapter 6: Generating Revenue 123 Donation Can 124 Zazzle Widget 125 Setting up the Zazzle Widget 126 AmazonFeed 127 Setting up AmazonFeed 128 Configuration 128 Post / page specific items 128 Advertising Manager 128 Creating a Google AdSense Ad 130 Creating your first ad in Advertising Manager 132 Adding the Widget 132 iTunes Affiliate Link Maker (iTALM) 133 Adding links to a post 134 Table of Contents [ vi ] WP e-Commerce, FREE Version 135 Setting up WP e-Commerce 136 Adding a digital product 137 Product Detail 137 Categories and Tags 137 Price and Stock Control 138 Shipping Details 138 Product Images 139 Product Download 140 Setting up your Payment Gateway 140 Web Invoice—invoicing and billing for WordPress 141 Setting up an invoice 143 Select the client 143 Client Information 143 Recurring Billing 143 Invoice Details 144 Publish 144 My Ad Manager 144 Creating the Advertise Here Page 145 Adding the Widget 146 Setting up your House Ads 146 Summary 147 Chapter 7: Working with Multiple Authors 149 Authors Widget 149 Author Spotlight 151 Styling the Author widget 152 Blog Metrics 152 Cimy User Extra Fields 153 Pre-Publish Reminder 154 Edit Flow 155 Audit Trail 157 WP-CMS Post Control 158 Guest Blogger 159 Adding a new article import 160 Subscribe to Author Posts Feed 161 Author Advertising 162 Setting up Author Advertising widget 163 The Author Page 164 Advertising code 164 Co-Author Plus 165 Private Messages for WordPress 167 Summary 168 Table of Contents [ vii ] Chapter 8: Security and Maintenance 169 Security basics 169 Passwords 170 Update often 170 Back up often 170 Limit Login Attempts 170 Setting up Limit Login Attempts 171 Lockout 172 Secure WordPress 172 Secure WordPress's options explained 173 Akismet 174 Bad Behavior 176 Upload+ 177 WP Security Scan 178 Latest version 179 Table prefix 179 Hiding Version # and Meta Tag ID 179 WordPress DB Errors 180 .htaccess in Admin folder 180 WP-DBManager 180 Understanding your database's health 181 What is a database? 181 What is MySQL? 181 How does WordPress use MySQL? 181 Repair, Optimize, and Backup 181 WP-DB-Backup 182 WordPress Backup 183 Maintenance Mode 183 Customizing the maintenance notice 184 WP-Optimize 185 Quick Cache 186 Quick Cache Options explained 187 Error Reporting 188 Auto Delete old log files 189 Configuration 189 Summary 189 Chapter 9: Power Admin 191 Fluency Admin 192 Quick key access 193 Styling the login screen 193 StatPress 194 Table of Contents [ viii ] Key datapoints 195 Latest Referrers 195 Search Terms 196 Operating Systems 196 Browsers Used 197 Spy View 197 404 Notifier 198 Shockingly Big IE6 Warning 199 Admin Links Widget 200 WordPress Admin Bar 201 Code Editor 202 WordPress Admin QuickMenu 203 Setting up your links 204 Email Users 204 E-mail ideas 205 Exclusive e-mailer 206 Special deals and offers 206 Helping a cause 206 Tips and tricks 206 Broken Link Checker 206 Admin Management Xtended 207 Understanding the interface 208 Menu Manager 209 Simple Tags 210 Configuring third party Taxonomy Services 211 Redirection 212 Widget Logic 213 Commonly used logic 214 Summary 214 Chapter 10: Time for Action 215 The open source business model 215 WordPress for prototyping 216 Real business models with WordPress 216 Selling digital goods 216 Selling themes 217 Selling plugins 218 Selling advertising spots 219 Job board 220 Corporate blogging software 220 Hosting WordPress 221 Continuing education 222 Summary 223 Index 225

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值