I have been trying to follow all your various posts on deploying meteor to windows but unfortunately I have not been able to successfully do this.
I am trying to deploy a meteor 1.5 application and so far I have been able ;
- to generate the build successfully.
- I cd programs/server && run npm install ( I got a few warning and these errors
'node-pre-gyp' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! email@example.com install:node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! email@example.com install:node npm-rebuild.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org install script.
I ignored these and went on to cd into bundle and run node main.js and I got the following
While this implementation will work correctly, it is known to be
approximately three times slower than the native implementation.
In order to use the native implementation instead, run
meteor npm install --save bcrypt
in the root directory of your application.
Error: MONGO_URL must be set in environment
at Object. (packages/mongo/remote_collection_driver.js:36:11)
at Object.defaultRemoteCollectionDriver (packages\underscore.js:784:19)
at new Mongo.Collection (packages/mongo/collection.js:99:40)
at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)
at fileEvaluate (packages\modules-runtime.js:197:9)
at require (packages\modules-runtime.js:120:16)
Please help. I am assuming the last error requires me to install mongo and somehow set the url etc. I have always run mongo only from meteor and not sure how to go about all that. Please help, i really need to get the app running on production server now.
NB: all I have done so far is still on my development environment (windows 10 64bit)
@hoser23331 how did yours go? how do you install mongo as a self starting service and link a db to meteor?