小编Aay*_*wal的帖子

angularjs2快速入门指南错误404'angular'不在npm注册表中

我最近克隆了官方的AngularJS Quickstart代码并运行了npm install.我收到了404.错误404'angular'不在npm注册表中.这是我的npm调试日志:

    17 silly registry.get     'content-length': '40',
517 silly registry.get     'accept-ranges': 'bytes',
517 silly registry.get     date: 'Tue, 10 May 2016 15:00:17 GMT',
517 silly registry.get     via: '1.1 varnish',
517 silly registry.get     age: '0',
517 silly registry.get     connection: 'keep-alive',
517 silly registry.get     'x-served-by': 'cache-sin6927-SIN',
517 silly registry.get     'x-cache': 'MISS',
517 silly registry.get     'x-cache-hits': '0',
517 silly registry.get     'x-timer': 'S1462892417.310196,VS0,VE210' } ]
518 silly lockFile b50e344d-angular-core-2-0-0-rc-1 angular/core@2.0.0-rc.1
519 silly lockFile b50e344d-angular-core-2-0-0-rc-1 angular/core@2.0.0-rc.1
520 error 404 'angular' is not in the npm …
Run Code Online (Sandbox Code Playgroud)

npm angular

21
推荐指数
2
解决办法
2万
查看次数

清除文本框值并单击显示onblur

有没有办法清除文本框上的默认文本框值并在表单页面上显示多个文本框的onblur?

javascript

8
推荐指数
3
解决办法
9万
查看次数

如果已经选中单选按钮,如何防止第二次单击单选按钮,以便可以防止 javascript 事件

如果已经选中单选按钮,如何防止第二次单击单选按钮,以便可以防止 javascript 事件。

当我点击单选按钮时正在做很多事情

<input name="EnumEvent" type="radio" value="Open" onclick="show_event()"/>
Run Code Online (Sandbox Code Playgroud)

javascript

function show_event()
{
    document.getElementById("radio-btns-div1").style.display="block";
    document.getElementById('invited').style.display="none";
    document.getElementById('invited').value = '';
    document.getElementById('invite_1').value='';
}
Run Code Online (Sandbox Code Playgroud)

javascript

3
推荐指数
1
解决办法
4523
查看次数

xammp上的Ldap配置

我一直在尝试在xammp localhost上配置ldap.

我在php.ini文件中启用了ldap扩展.

我也试图改变系统变量.

我一直在犯这个错误

LDAP功能不存在.加载模块ldap php模块或使用带有ldap支持编译的php.

欢迎任何帮助

php xampp ldap

3
推荐指数
1
解决办法
8818
查看次数

在 Google Compute Cloud VM 实例上设置 Coturn Server 时出错

我正在尝试在运行 ubuntu 14.04 的谷歌计算云 VM 实例上设置 coturn 服务器。我认为这是一个防火墙问题,但我在防火墙设置中打开了端口 tcp:3478 和 udp:3478。没有其他进程在 3478 端口上运行。有人试过在 gcloud 上设置这个吗?我究竟做错了什么。

$ sudo turnserver -a -v -n -r north.gov -L 35.189.173.237
0: log file opened: /var/log/turn_2564_2017-07-06.log
0: 
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.0.6 'dan Eider'
0: 
Max number of open files/sockets allowed for this process: 65536
0: 
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 32500 (approximately)
0: 

==== Show him the instruments, Practical Frost: ====

0: TLS supported
0: …
Run Code Online (Sandbox Code Playgroud)

gcloud coturn

2
推荐指数
1
解决办法
1349
查看次数

标签 统计

javascript ×2

angular ×1

coturn ×1

gcloud ×1

ldap ×1

npm ×1

php ×1

xampp ×1