kapriiuk
- 9
- 0
При запуске, вылазит такая ошибка
root@cs-rulet:/usr/bot# node steambot.js
[8:40:52:666] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:40:53:550] Message: "mongo connected"
connected
encrypt request
/usr/bot/node_modules/steam/lib/steam_client.js:150
var cryptedSessKey = require('crypto').publicEncrypt(fs.readFileSync(__dirna
^
TypeError: Object #<Object> has no method 'publicEncrypt'
at SteamClient.handlers.(anonymous function) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# ^C
root@cs-rulet:/usr/bot# node steambot.js
[8:45:53:930] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:45:54:628] Message: "mongo connected"
connected
encrypt request
/usr/bot/node_modules/steam/lib/steam_client.js:150
var cryptedSessKey = require('crypto').publicEncrypt(fs.readFileSync(__dirna
^
TypeError: Object #<Object> has no method 'publicEncrypt'
at SteamClient.handlers.(anonymous function) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# ^C
root@cs-rulet:/usr/bot# node steambot.js
[8:46:27:332] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:46:28:52] Message: "mongo connected"
connected
encrypt request
/usr/bot/node_modules/steam/lib/steam_client.js:150
var cryptedSessKey = require('crypto').publicEncrypt(fs.readFileSync(__dirna
^
TypeError: Object #<Object> has no method 'publicEncrypt'
at SteamClient.handlers.(anonymous function) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# service mongod start
Failed to start mongod.service: Unit mongod.service failed to load: No such file or directory.
root@cs-rulet:/usr/bot# node steambot.js
[9:25:40:406] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[9:25:41:107] Message: "mongo connected"
connected
encrypt request
/usr/bot/node_modules/steam/lib/steam_client.js:150
var cryptedSessKey = require('crypto').publicEncrypt(fs.readFileSync(__dirna
^
TypeError: Object #<Object> has no method 'publicEncrypt'
at SteamClient.handlers.(anonymous function) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)