0

似乎只是缺少一个模块,但我已经在package.json文件中写了,其他的似乎都很好。
我在本地调试过这个小应用程序很多次,这里有一个版本的browserid模块......
browserid-verifier模块可以在这里找到: https
://github.com/lloyd/node-browserid 和`package.jsonq文件:

{
  "name": "daily_bookmarks",
  "subdomain": "daily_bookmarks",
  "scripts": {
    "start": "server.coffee"
  },
  "version": "0.0.0-9",
  "engines": {
    "node": "0.6.x"
  },
  "main": "server.js",
  "dependencies": {
    "mongodb": "0.9.9",
    "socket.io": "0.9.3",
    "ezcrypto": "0.0.3",
    "browserid-verifier": "0.0.4"
  }
}

我笔记本电脑上的版本:

$ npm list -g | grep browser
├─┬ browserid-verifier@0.0.4 
│   ├─┬ browserify@1.8.1  

错误:

$ jitsu deploy
info:   Welcome to Nodejitsu
info:   It worked if it ends with Nodejitsu ok
info:   Executing command deploy
info:   Analyzing your application dependencies in server.coffee
warn:   Local version appears to be old.
warn:   Your package.json version will be incremented for you automatically.
warn:   About to write /home/chen/code/home/git/docview/projects/daily_bookmarks/package.json
data:   
data:   {
data:       engines: { node: '0.6.x' },
data:       dependencies: {
data:           socket.io: '0.9.3',
data:           browserid-verifier: '0.0.4',
data:           mongodb: '0.9.9',
data:           ezcrypto: '0.0.3'
data:       },
data:       subdomain: 'daily_bookmarks',
data:       version: '0.0.0-9',
data:       name: 'daily_bookmarks',
data:       main: 'server.js',
data:       scripts: { start: 'server.coffee' }
data:   }
data:   
prompt: Is this ok? (yes): 
warn:   Creating new snapshot for version 0.0.0-9
info:   Done creating snapshot 0.0.0-9
info:   Updating application daily_bookmarks
info:   Activating snapshot 0.0.0-9 for daily_bookmarks
info:   Stopping app daily_bookmarks
info:   App daily_bookmarks is now stopped
info:   Starting app daily_bookmarks
error:  Error running command deploy
error:  Nodejitsu Error (500): Internal Server Error
info:   Nodejitsu not ok
4

1 回答 1

2
npm ERR! error installing jwcrypto@0.1.1
npm ERR! error installing browserid-verifier@0.0.4

npm ERR! ...SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:683:

这是我尝试在本地安装browserid-verifier时得到的。尝试npm install时似乎存在一些问题。您可以将其捆绑在您的应用程序中。

"bundleDependencies": [
  "browserid-verifier"
]
于 2012-04-03T12:46:08.413 回答