Javascript 执行脚本编辑器时出错:“quot;显示url时出错:不支持指定的位置";

Javascript 执行脚本编辑器时出错:“quot;显示url时出错:不支持指定的位置";,javascript,Javascript,尝试从Springsource打开脚本化的0.3时出现以下错误 显示url时出错:不支持指定的位置 我使用Kubuntu 12.10 64位,并使用npm(sudo npm install-g scripted)安装它,并具有以下输出: npm http GET https://registry.npmjs.org/scripted npm http 304 https://registry.npmjs.org/scripted npm http GET https://registry.npm

尝试从Springsource打开脚本化的0.3时出现以下错误

显示url时出错:不支持指定的位置

我使用Kubuntu 12.10 64位,并使用npm(
sudo npm install-g scripted
)安装它,并具有以下输出:

npm http GET https://registry.npmjs.org/scripted
npm http 304 https://registry.npmjs.org/scripted
npm http GET https://registry.npmjs.org/amdefine/0.0.2
npm http GET https://registry.npmjs.org/enhanced-resolve/0.4.5
npm http GET https://registry.npmjs.org/express/2.5.11
npm http GET https://registry.npmjs.org/formidable/1.0.9
npm http GET https://registry.npmjs.org/htmlparser/1.7.6
npm http GET https://registry.npmjs.org/json5/0.1.0
npm http GET https://registry.npmjs.org/node-static/0.5.9
npm http GET https://registry.npmjs.org/sockjs/0.3.1
npm http GET https://registry.npmjs.org/when/1.6.1
npm http GET https://github.com/kdvolder/websocket-multiplex/archive/master.tar.gz
npm http 304 https://registry.npmjs.org/enhanced-resolve/0.4.5
npm http 304 https://registry.npmjs.org/htmlparser/1.7.6
npm http 304 https://registry.npmjs.org/json5/0.1.0
npm http 304 https://registry.npmjs.org/node-static/0.5.9
npm WARN node-static@0.5.9 dependencies field should be hash of <name>:<version-range> pairs
npm http 304 https://registry.npmjs.org/sockjs/0.3.1
npm http 304 https://registry.npmjs.org/express/2.5.11
npm http 304 https://registry.npmjs.org/amdefine/0.0.2
npm http 304 https://registry.npmjs.org/formidable/1.0.9
npm http 304 https://registry.npmjs.org/when/1.6.1
npm http 200 https://github.com/kdvolder/websocket-multiplex/archive/master.tar.gz
npm http GET https://registry.npmjs.org/mime/1.2.4
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/faye-websocket/0.4.0
npm http GET https://registry.npmjs.org/rbytes/0.0.2
npm http GET https://registry.npmjs.org/node-uuid/1.3.3
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http 304 https://registry.npmjs.org/mime/1.2.4
npm http 304 https://registry.npmjs.org/faye-websocket/0.4.0
npm http 304 https://registry.npmjs.org/rbytes/0.0.2
npm http 304 https://registry.npmjs.org/node-uuid/1.3.3
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/connect/-/connect-1.9.2.tgz

> rbytes@0.0.2 install /usr/local/lib/node_modules/scripted/node_modules/sockjs/node_modules/rbytes
> node-waf configure build

Checking for program g++ or c++          : /usr/bin/g++ 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/bin/ar 
Checking for program ranlib              : /usr/bin/ranlib 
Checking for g++                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr 
'configure' finished successfully (0.104s)
Waf: Entering directory `/usr/local/lib/node_modules/scripted/node_modules/sockjs/node_modules/rbytes/build'
[1/2] cxx: src/binding.cc -> build/Release/src/binding_1.o
npm http 200 https://registry.npmjs.org/connect/-/connect-1.9.2.tgz
[2/2] cxx_link: build/Release/src/binding_1.o -> build/Release/binding.node
Waf: Leaving directory `/usr/local/lib/node_modules/scripted/node_modules/sockjs/node_modules/rbytes/build'
'build' finished successfully (0.959s)
/usr/local/bin/scr -> /usr/local/lib/node_modules/scripted/bin/scr
/usr/local/bin/scripted -> /usr/local/lib/node_modules/scripted/bin/scripted
scripted@0.3.0 /usr/local/lib/node_modules/scripted 
├── amdefine@0.0.2
├── node-static@0.5.9
├── when@1.6.1
├── websocket-multiplex@0.1.0
├── enhanced-resolve@0.4.5
├── json5@0.1.0
├── formidable@1.0.9
├── htmlparser@1.7.6
├── sockjs@0.3.1 (node-uuid@1.3.3 faye-websocket@0.4.0 rbytes@0.0.2)
└── express@2.5.11
npmhttpgethttps://registry.npmjs.org/scripted
npm http 304https://registry.npmjs.org/scripted
npm http GEThttps://registry.npmjs.org/amdefine/0.0.2
npm http GEThttps://registry.npmjs.org/enhanced-resolve/0.4.5
npm http GEThttps://registry.npmjs.org/express/2.5.11
npm http GEThttps://registry.npmjs.org/formidable/1.0.9
npm http GEThttps://registry.npmjs.org/htmlparser/1.7.6
npm http GEThttps://registry.npmjs.org/json5/0.1.0
npm http GEThttps://registry.npmjs.org/node-static/0.5.9
npm http GEThttps://registry.npmjs.org/sockjs/0.3.1
npm http GEThttps://registry.npmjs.org/when/1.6.1
npm http GEThttps://github.com/kdvolder/websocket-multiplex/archive/master.tar.gz
npm http 304https://registry.npmjs.org/enhanced-resolve/0.4.5
npm http 304https://registry.npmjs.org/htmlparser/1.7.6
npm http 304https://registry.npmjs.org/json5/0.1.0
npm http 304https://registry.npmjs.org/node-static/0.5.9
npm警告节点-static@0.5.9依赖项字段应为:对的哈希
npm http 304https://registry.npmjs.org/sockjs/0.3.1
npm http 304https://registry.npmjs.org/express/2.5.11
npm http 304https://registry.npmjs.org/amdefine/0.0.2
npm http 304https://registry.npmjs.org/formidable/1.0.9
npm http 304https://registry.npmjs.org/when/1.6.1
npm http 200https://github.com/kdvolder/websocket-multiplex/archive/master.tar.gz
npm http GEThttps://registry.npmjs.org/mime/1.2.4
npm http GEThttps://registry.npmjs.org/qs
npm http GEThttps://registry.npmjs.org/mkdirp/0.3.0
npm http GEThttps://registry.npmjs.org/connect
npm http GEThttps://registry.npmjs.org/faye-websocket/0.4.0
npm http GEThttps://registry.npmjs.org/rbytes/0.0.2
npm http GEThttps://registry.npmjs.org/node-uuid/1.3.3
npm http 304https://registry.npmjs.org/mkdirp/0.3.0
npm http 304https://registry.npmjs.org/mime/1.2.4
npm http 304https://registry.npmjs.org/faye-websocket/0.4.0
npm http 304https://registry.npmjs.org/rbytes/0.0.2
npm http 304https://registry.npmjs.org/node-uuid/1.3.3
npm http 304https://registry.npmjs.org/connect
npm http 304https://registry.npmjs.org/qs
npm http GEThttps://registry.npmjs.org/connect/-/connect-1.9.2.tgz
> rbytes@0.0.2安装/usr/local/lib/node_modules/scripted/node_modules/sockjs/node_modules/rbytes
>节点waf配置生成
检查程序g++或C++:/rr/bin /g++
检查程序cpp:/usr/bin/cpp
检查程序ar:/usr/bin/ar
正在检查程序ranlib:/usr/bin/ranlib
检查g++:ok
正在检查节点路径:未找到
检查节点前缀:ok/usr
“配置”已成功完成(0.104s)
Waf:进入目录“/usr/local/lib/node\u modules/scripted/node\u modules/sockjs/node\u modules/rbytes/build”
[1/2]cxx:src/binding.cc->build/Release/src/binding_1.o
npm http 200https://registry.npmjs.org/connect/-/connect-1.9.2.tgz
[2/2]cxx_链接:build/Release/src/binding_1.o->build/Release/binding.node
Waf:离开目录“/usr/local/lib/node_modules/scripted/node_modules/sockjs/node_modules/rbytes/build”
“生成”已成功完成(0.959秒)
/usr/local/bin/scr->/usr/local/lib/node_modules/scripted/bin/scr
/usr/local/bin/scripted->/usr/local/lib/node_modules/scripted/bin/scripted
scripted@0.3.0/usr/local/lib/node_modules/scripted
├── amdefine@0.0.2
├── 节点-static@0.5.9
├── when@1.6.1
├── 网袋-multiplex@0.1.0
├── 增强的-resolve@0.4.5
├── json5@0.1.0
├── formidable@1.0.9
├── htmlparser@1.7.6
├── sockjs@0.3.1(节点-uuid@1.3.3费伊-websocket@0.4.0 rbytes@0.0.2)
└── express@2.5.11

我现在找不到任何日志文件,有没有办法解决这个问题?

你安装了npm的新版本还是Kubuntu默认的旧版本?我想这是默认的Kubuntu版本,但是我甚至没有那台计算机了