Stephen wrote:Are you executing those statements as root?
That's why it says [root@xms netonix-manager]#
Stephen wrote:Are you executing those statements as root?
[root@xms netonix-manager]# curl -O https://forum.netonix.com/netonix-manager/netonix-manager-1.0.14.tar.gz
[root@xms netonix-manager]# tar -zxvf netonix-manager-1.0.14.tar.gz --no-same-owner -C /
[root@xms netonix-manager]# export NODE_ENV=production
[root@xms netonix-manager]# node bootloader.js
starting child process
{ Error: Cannot find module '../build/Release/bson'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/netonix-manager/node_modules/bson/ext/index.js:15:10)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3) code: 'MODULE_NOT_FOUND' }
Express server listening on port 3443
starting child process
{ Error: Cannot find module '../build/Release/bson'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/netonix-manager/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/index.js:15:10)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3) code: 'MODULE_NOT_FOUND' }
##############################################################
#
# !!! MONGOOSE WARNING !!!
#
# This is an UNSTABLE release of Mongoose.
# Unstable releases are available for preview/testing only.
# DO NOT run this in production.
#
##############################################################
process exit code 1
Users browsing this forum: No registered users and 158 guests