Sto seguendo il Basic Tutorial per usare TurkServer, ma ricevo un errore dall'inizio.Impossibile leggere la proprietà 'bcrypt' di undefined con Meteor
L'errore che ottengo quando faccio funzionare: meteora --settings settings.json
W20160615-01:19:27.320(-4)? (STDERR)
W20160615-01:19:27.406(-4)? (STDERR) ~/.meteor/packages/meteor-tool/.1.3.3.b5ue33++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20160615-01:19:27.406(-4)? (STDERR)
throw(ex);
W20160615-01:19:27.407(-4)? (STDERR)
^
W20160615-01:19:27.407(-4)? (STDERR) TypeError: Cannot read property 'bcrypt' of undefined
W20160615-01:19:27.407(-4)? (STDERR) at AccountsServer.Accounts._checkPassword (packages/accounts-password/password_server.js:68:33)
W20160615-01:19:27.407(-4)? (STDERR) at ~/interactiveEstimation/.meteor/local/build/programs/server/packages/mizzao_turkserver.js:4881:18
W20160615-01:19:27.407(-4)? (STDERR) at ~/interactiveEstimation/.meteor/local/build/programs/server/boot.js:298:5
=> Exited with code: 8
mio file di impostazioni:
{
"turkserver": {
"adminPassword": "mmaatouq95",
"experiment": {
"limit": {
}
},
"mturk": {
"accessKeyId": "AKIAJDDHTM3IRYMWUX7Q",
"secretAccessKey": "eeTud7Gml3Yz6XD9gWLUZzsJokoie2rEq"
}
}
}
Sembra problema generale con Meteor, non con TurkServer (i file di progetto https://www.dropbox.com/s/ppgbuwv4k3imbt5/interactiveEstimation.zip):
Sembra che il tuo utente non sia stato creato correttamente. Prova a eliminare l'utente amministratore dal database e rieseguire il server. Cambia qualcosa? – MasterAM