Code Monkey home page Code Monkey logo

meteor-now's Introduction

Deprecation notice:

NOTE: meteor-now is no longer actively maintained. Since ZEIT Now no longer focuses on serverful frameworks, it has been deprecated in favor of meteor-hero which allows free meteor deploys using Heroku.


Meteor Now CircleCI npm version downloads

meteor-now is a tool to let you instantly deploy your Meteor apps with one command using ZEIT's ▲now service. Just run meteor-now and instantly deploy your Meteor app like you could back in the good 'ol days of meteor deploy.

Demo

https://meteor-test-msrbsvslpz.now.sh

Install

Install the now and meteor-now packages:

$ npm install -g now meteor-now

Create now account

$ now login
> Enter your email: <your email>
> Please follow the link sent to <your email> to log in.
> Verify that the provided security code in the email matches Pragmatic Manta Ray.

✔ Confirmed email address!

> Logged in successfully. Token saved in ~/.now.json

Usage

Deploying for Development / Testing

In your Meteor app directory, run meteor-now.

~/my-meteor-app/ $ meteor-now
✔ [METEOR-NOW] - building meteor app
✔ [METEOR-NOW] - preparing build
✔ [METEOR-NOW] - deploying build
✔ [METEOR-NOW] - meteor app deployed to https://meteor-test-msrbsvslpz.now.sh

Deploying for Production

There are a few things you'll want to know before using meteor-now in production. And your deploy command will probably look more like the following:

meteor-now -e MONGO_URL=mongodb://<username>:<pass>@.... -e ROOT_URL=https://mydomain.com -e NODE_ENV=production

If your app uses MongoDB at all you will want to specify a -e MONGO_URL= for persistent storage of data. Mlab has a great free sandbox tier, but also not recommended for production (you will probably want to pay at some point).

You should also have a paid account with ▲now so that you can specify a custom domain name, and have more than 1GB of bandwidth/mo.

You will also likely want to specify a -e ROOT_URL= http://stackoverflow.com/questions/24046186/meteor-what-is-the-purpose-of-root-url-and-to-what-should-it-be-defined

Finally you should have a production.settings.json in your project directory if you are using METEOR_SETTINGS (i.e. passing in --settings) and use -e NODE_ENV=production to tell meteor-now to use that.

How

METEOR-NOW meteor-now use ZEITs ▲now service to deploy the Meteor app in a container. Please refer to their documentation and support for hosting related details.

Additional Info

Full deploy with MongoDB

meteor-now lets you to deploy your Meteor app with a MongoDB included similar to how meteor deploy used to work. This method is not intended for production deployments. In order to achieve this, we bundle your Meteor app and MongoDB into a a single Dockerfile and we instruct your app to connect to the local MongoDB instance. The Dockerfile gets built in the cloud by now and once it's ready, the Meteor app will spin up and connect to the MongoDB instance running locally in that docker container.

Some things to keep in mind here is that since MongoDB is installed on the docker container itself, your app data is not persistent and has the chance of getting deleted if a new container is created. Because now automatically scales your deployment with load, new docker containers are bound to be created and your is likely going to get lost.

To not have this issue, spin up your own MongoDB instance and pass the -e MONGO_URL=... flag when you deploy.

Using METEOR_SETTINGS

Currently there are two ways you can set the METEOR_SETTINGS environment variable in your deployments

  • Using now secrets
$ now secrets add meteor-settings '{ "public": { "foo": "bar" }}'
$ meteor-now -e METEOR_SETTINGS=@meteor-settings -e MONGO_URL=...
  • Using development.settings.json and production.settings.json Following the convention of the NODE_ENV environment variable, meteor-now uses NODE_ENV to determine which file to look for. It will either look for development.settings.json or production.settings.json in your root Meteor directory.

Note that meteor-now by default looks for development.settings.json unless otherwise specified by -e NODE_ENV=production or -e METEOR_SETTINGS='{ "foo": "bar" }'.

Debug

In order to see detailed deployment logs as they happen, pass the -d when you deploy.

Bundle Splitting

The now free tier has a limitation of 1mb per file. As a workaround, we split the final bundle into pieces prior to uploading. If you are on a paid plan, you can turn this off by passing the --nosplit flag like so meteor-now --nosplit.

now.json

You can include a regular now.json file in your project directory. meteor-now will make sure to include it along with your app when it deploys. Specifying now settings in the package.json file is not currently supported.

FAQ

Can I use this in production?

Yes– if you are paying for ▲now and using an external database! ▲now supports dynamic autoscaling of apps (with sticky-sessions), you should read all the caveats related to now if you are not paying for a monthly plan– You only get 1GB of bandwidth per month, and also your source files are made (somewhat) public at your url /_src Also read the caveats below if you did not specify a MONGO_URL

What happens when I don't specify a MONGO_URL

When you don't specify a MONGO_URL we bundle a local version of MonogoDB with your application. What this basically means is that if your application ever gets shut down, or scales up to multiple instances you will lose all data that was inserted into your DB.

How can I change my ROOT_URL

In order to set the ROOT_URL for your application, pass the -e flag along with the value for what you want the ROOT_URL to be. Example: meteor-now -e ROOT_URL=www.mymeteorapp.com

How do I set a domain name

In order to use a custom domain name, you would need a Pro account with now.

Run now domain add --external meteor-now.com. You should get a response back with steps to verify your domain.

Verification required: Please add the following TXT record on the external DNS server: _now.meteor-now.com: ea39a62a58b3109f92024230826e37f0adc6abcd

In your domain DNS settings, add a TXT record with the above information.

Wait a few moments for the DNS records to propagate and rerun the same command above.

$ now domains add --external meteor-now.com
Success! Domain meteor-now.com verified [2s]

Now alias your deployment to the new domain

$ now alias https://meteor-now-site-izdolpdrvv.now.sh/ www.meteor-now.com
www.meteor-now.com is a custom domain.
Verifying the DNS settings for www.meteor-now.com (see https://zeit.world for help)
Verification OK!
Provisioning certificate for www.meteor-now.com
Success! Alias created: https://www.meteor-now.com now points to https://meteor-now-site-izdolpdrvv.now.sh [copied to clipboard]

You can also pass the --alias abc.com option to meteor-now and it will automatically run the alias after the deployment completes.

Read this blog post for more information.

Why are my XX resource not loading

Because now enforces SSL, you may experience some issues with 3rd party resources (such as google fonts) not being fetched by your clients due to mixed content warnings. To resolve, just make sure all your assets are being fetched with https:// protocol urls whenever available. If that's not possible, you may need to just download those assets and serve them locally through meteor's public/ directory.

I deployed my free app but it's failing to connect to MongoDB

If you're deploying with an included MongoDB, we've observed that sometimes MongoDB takes a while to start. In this case, Meteor complains that it can't connect to MongoDB. Give it a few more minutes and your app should start. Make sure to refresh the page.

I want to use a different docker image

The default docker images are nodesource/jessie:0.10.43 for Meteor < 1.4, node:8.9.4 for < 1.7 and node:8.11.2 for >= 1.7. If you want to use a different image, use the --docker-image flag.

My app requires XX can I use my own Dockerfile?

We're currently support passing a --deps 'depName1,depName2' flag so that applications that rely on things like imagemagick are able to work. We are also looking into the ability to specify your own Dockerfile in the case that you require even more customization.

Stay tuned to updates on the issue

Authors

Justin Avatar Mirza Avatar
Justin Krup Mirza Joldic
@jkrup @purplecones

meteor-now's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meteor-now's Issues

SyntaxError: Use of const in strict mode.

Hi,

I have just installed now and meteor-now using the followind command :
sudo npm install -g now meteor-now

Whenever I try to run any 'now' command from the terminal I get the following error :

/usr/local/lib/node_modules/now/bin/now.js:4
const {resolve} = require('path')
      ^
SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:124:16)
    at node.js:811:3

I'm mentioning that I am running on Ubuntu 14.04

Also, if anyone wants to know, I get an error whenever I try to run meteor-now.

/usr/local/lib/node_modules/meteor-now/node_modules/ora/index.js:2
const chalk = require('chalk');
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/meteor-now/dist/app.js:529:19)
    at __webpack_require__ (/usr/local/lib/node_modules/meteor-now/dist/app.js:20:30)
    at Object.<anonymous> (/usr/local/lib/node_modules/meteor-now/dist/app.js:433:13)

P.S : Here is the link for the issue that I raised on the 'now-cli' project : vercel/vercel#252

Extremely Long Build Times

Greetings,

I just tried to deploy a meteor app with meteor-now, and the build time took nearly 15 minutes.
Are there any tips or gotchas' to help reduce the build time.

This is important because when deploying hot fixes to an application with 15+ build times may not be an optimal solution.

Providing only METEOR_SETTINGS should be enough to do a proper deploy

Hi again!
If all the environment variables I use are in a settings.json file, would be great to only set the NODE_ENV, and let now or meteor-now to automatically set the variables in the file.
Or, from local settings.json file, when I call meteor-now -e METEOR_SETTINGS=settings.json

Currently, I'm forced to repeat some values from meteor settings, like MONGO_URL, if the change, I have to updated in two places.

This is how I do it now, in a deploy.sh file:

ROOT_URL="$(cat production.settings.json | jq '.ROOT_URL')"
MAIL_URL="$(cat production.settings.json | jq '.MAIL_URL')"
MONGO_URL="$(cat production.settings.json | jq '.MONGO_URL')"
NODE_ENV="$(cat production.settings.json | jq '.NODE_ENV')"
meteor-now -d -e NODE_ENV=$NODE_ENV -e MONGO_URL=$MONGO_URL -e ROOT_URL=$ROOT_URL -e MAIL_URL=$MAIL_URL

Thanks.

Possibly unhandled Error: 1 at Promise$_rejecter

what's wrong ?
should i use same version with meteor node -v ?

should i always use mongodb ? because it's just a client bundle.


WARNING: Did not pass a MONGO_URL. Bundling a NON-PRODUCTION version of MongoDB with your application. Read about the limitations here: https://git.io/vM72E
⠀⢀ [METEOR-NOW] - deploying build (this can take several minutes)Possibly unhandled Error: 1
    at Promise$_rejecter (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:590:44)
    at /Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/index.js:85:13
    at tryCatch1 (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/util.js:63:19)
    at Promise$_callHandler [as _callHandler] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:711:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:868:14)
    at Promise$_settlePromises [as _settlePromises] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:1006:14)
    at Promise$_rejectPromises [as _rejectPromises] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:999:10)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:74:12)
    at Async$consumeFunctionBuffer (/Users/monsterstep/.nvm/versions/node/v6.10.2/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:37:14)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

then [METEOR-NOW] - deploying build (this can take several minutes) forever

app names being created with quotes as part of the name.

Problem:

because of a bug in Docker, your Dockerfile is not being parsed correctly and the quote marks are part of the name that now is giving to the application.

Clues:

If I am in my application directory named "bob" and run meteor-now --public I get a new instance created by now. When I list using now I can see it:

$now ls
x deployments found under my-user-name
"bob"
url inst # state age
bob-<random>.now.sh ...
....

But if I try to list deployments for my "bob" application:

$now ls bob
0 deployments
$now ls \"bob\"
x deployments ...
bob-<random>.now.sh

Cause:

Because of the previously mentioned bug, Docker does not strip the quotes from the Dockerfile command LABEL name="bob"

Solution:

Partial solution until the Docker bug is fixed is to remove the quotes from single word folder names.
Full solution would be to pass through the now.json file, which would allow me to set whatever name I want, in addition to aliases and ENV variables, but alas, this doesn't currently work.

Win10
now version 7.0.1
meteor-now version: ??? (--version doesn't work)

unhandled Error: 1

I am getting a weird unhandled error while trying to deploy a fresh app, the deploy process never ends, I waited half an hour :)

meteor-now -e MONGO_URL=mongodb://user:pass@host:port/db
✔ [METEOR-NOW] - building meteor app
✔ [METEOR-NOW] - preparing build
⠄⡙ [METEOR-NOW] - deploying build (this can take several minutes)Possibly unhandled Error: 1
    at Promise$_rejecter (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:590:44)
    at /home/ubuntu/workspace/node_modules/promise-spawner/index.js:85:13
    at tryCatch1 (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/util.js:63:19)
    at Promise$_callHandler [as _callHandler] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:711:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:868:14)
    at Promise$_settlePromises [as _settlePromises] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:1006:14)
    at Promise$_rejectPromises [as _rejectPromises] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:999:10)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:74:12)
    at Async$consumeFunctionBuffer (/home/ubuntu/workspace/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:37:14)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)
⡋⠀ [METEOR-NOW] - deploying build (this can take several minutes)^C

Deployment failed to un-tar bundle

From the now output once the deployment URL is available:

gzip: stdin: invalid compressed data--format violated
�[0m�[91mtar: Child returned status 1
�[0m�[91mtar: Error is not recoverable: exiting now
The command '/bin/sh -c tar -xzf bundle.tar.gz' returned a non-zero code: 2

This happens when deploying from Mac and Windows.

When I manually cat *sf-part* > bundle.tar.gz in .meteor/local/builds, the resulting bundle also fails with a similar error on my local machines:

<...snip...>
x bundle/programs/server/npm/node_modules/fs.realpath/LICENSE
x bundle/programs/server/npm/node_modules/fs.realpath/README.md
tar: gzip decompression failed
tar: Error exit delayed from previous errors.

However, if I manually run the build command, and DO NOT SPLIT THE FILE, I'm able to untar ungzip it with no errors.

The problem is definitely occurring as a result of the split-file process (or as a result of cat'ing them back together). The resulting error happens on Mac, Windows 10, and on Zeit Now.

I don't have a publicly available repo to share yet. If it helps any the resulting bundle.tar.gz is 12924604 bytes (which was split into 13 parts).

absolute URL/Root URL with apollo app using meteor-now

Apollo-Client needs to know the url endpoint to hit. When I dont have a custom domain, I've been setting arbitrary ROOT_URLs. Arbitrary URLs worked fine with meteor apps, but apollo uses the ROOT_URL to connect (or you can give it a uri) but in both cases I have no idea what the URL will be until after the app is deployed. Is there anyway around this without using a custom domain?

Maybe I can run a method on startup to grab this.connection uri and reset the environment variable ROOT_URL?

or maybe vanilla js: window.location.hostname on client

Possibly unhandled Error: 1

During step [METEOR-NOW] - deploying build

I am getting this error. Any help? :)

Possibly unhandled Error: 1
at Promise$_rejecter (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:590:44)
at /usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/index.js:85:13
at tryCatch1 (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/util.js:63:19)
at Promise$_callHandler [as _callHandler] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:695:13)
at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:711:18)
at Promise$_settlePromiseAt [as _settlePromiseAt] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:868:14)
at Promise$_settlePromises [as _settlePromises] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:1006:14)
at Promise$_rejectPromises [as _rejectPromises] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/promise.js:999:10)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:74:12)
at Async$consumeFunctionBuffer (/usr/local/lib/node_modules/meteor-now/node_modules/promise-spawner/node_modules/bluebird/js/main/async.js:37:14)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)

[Question] Is this compatible with version 1.2.1 of meteor?

I'm trying to deploy a meteor app version 1.2.1 but when it finish deploying and go to the url it just stays there loading and sometimes it gives me 502 error.

meteor-now -e MONGO_URL=mongodb://... -e MAIL_URL=smtp://... -e NODE_ENV=production

Note
I didn't specify a ROOT_URL as I don't have a custom domain

Consider using different directory than .meteor/local

to avoid this message

WARNING: The output directory is under your source tree.
         Your generated files may get interpreted as source code!
         Consider building into a different directory instead
         meteor build ../output

Fail build

meteor-now gives error

meteor-now -e METEOR_SETTINGS=@meteor-settings -e MONGO_URL=*** -e ROOT_URL=*** -d
[METEOR-NOW] - running command: meteor build .meteor/local/builds --server-only --architecture=os.linux.x86_64

WARNING: The output directory is under your source tree.
Your generated files may get interpreted as source code!
Consider building into a different directory instead
meteor build ../output

Errors prevented bundling:
While loading plugin vue-component from package akryum:vue-component:
native: Unexpected token /
at Object.parse (native)
at getVueVersion (packages/vue-component/plugin/vue-compiler.js:17:22)
at meteorInstall.node_modules.meteor.vue-component.plugin.vue-compiler.js (packages/vue-component/plugin/vue-compiler.js:35:20)
at fileEvaluate (packages/modules-runtime.js:188:9)
at require (packages/modules-runtime.js:111:16)
at :20426:1
at :20433:3

Possibly unhandled Error: 1
at Promise$_rejecter (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:590:44)
at C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\index.js:85:13
at tryCatch1 (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\util.js:63:19)
at Promise$_callHandler [as _callHandler] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:695:13)
at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:7
11:18)
at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:868:14)
at Promise$_settlePromises [as _settlePromises] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:1006:14)
at Promise$_rejectPromises [as _rejectPromises] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:999:10)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\async.js:74:12)
at Async$consumeFunctionBuffer (C:\Users\kevrat\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\async.js:37:14)

My packages file

[email protected] # Packages every Meteor app needs to have
[email protected] # Packages for a great mobile UX
[email protected] # The database Meteor supports right now
[email protected] # Reactive variable for tracker
[email protected] # Meteor's client-side reactive programming library

[email protected] # CSS minifier run for production mode
[email protected] # ECMAScript 5 compatibility for older browsers.
[email protected] # Enable ECMAScript2015+ syntax in app code
[email protected] # Server-side component of the meteor shell command

static-html
akryum:[email protected]
mrt:accounts-vk
service-configuration
accounts-facebook
jagi:astronomy
jagi:astronomy-timestamp-behavior
akryum:vue-blaze-template
akryum:vue-router2
meteorhacks:fast-render

package.json deps

"dependencies": {
"babel-runtime": "^6.23.0",
"meteor-node-stubs": "~0.2.4",
"onsenui": "^2.2.1",
"vue": "^2.2.6",
"vue-meta": "^0.5.5",
"vue-meteor-tracker": "^1.2.0",
"vue-onsenui": "^2.0.0-beta.0",
"vue-router": "^2.3.1"
},
"devDependencies": {
"babel-eslint": "^7.2.1",
"eslint": "^3.18.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-import-resolver-meteor": "^0.3.4",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-meteor": "^4.0.1",
"eslint-plugin-react": "^6.10.3"
}

It is strongly depends on the package akvaryum:vue-component or it is can be solved without modifies package?

Setting ROOT_URL with non-custom domain?

Recently i want to implement a email verification function to my app
which is making use of Meteor.absoluteUrl and ROOT_URL
i am using the OSS plan with non-custom domains.
Any recommendation would be appreciated!

METEOR_SETTINGS JSON parsing issues

After 'Container Started' but before 'Deployment Complete!' I get the following error:

/bundle/programs/server/boot.js:356
}).run();
^
Error: METEOR_SETTINGS are not valid JSON: '{"TWILIO":{"FROM":"+18NUMBER50","SID":"AC71NUMBERS7d","TOKEN":"bc0TOKENfc0c"},"WEBADDRESS":"http://web.site/"}'
at packages/meteor.js:59:11
at packages/meteor.js:80:4
at packages/meteor.js:1380:3
at /bundle/programs/server/boot.js:303:34
at Array.forEach (native)
at Function..each..forEach (/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /bundle/programs/server/boot.js:128:5
at /bundle/programs/server/boot.js:352:5
at Function.run (/bundle/programs/server/profile.js:510:12)
at /bundle/programs/server/boot.js:351:11

I've edited the json above to hide my data, but you can see what it is and it is in fact valid. The site runs fine locally without errors.

I've thrown it into json validators several times to make sure I wasn't missing anything. I even typed everything manually into a new file to make sure copying didn't accidentally snag some weird character. No dice so far. Any ideas on what I can check?

Builds fail

I created a test app

  • meteor create --full test
  • then cd test
  • then meteor-now with mongo settings and etc

screen shot 2017-04-20 at 12 25 22 am

Regardless of the app I try deploy build throws this error when deploying build

Windows Support?

Hi, I have just installed meteor-now and now globally and when i run meteor-now command in my project i get this error

        this.builddir = pwd.split('/')[pwd.split('/').length - 1];
                           ^

TypeError: Cannot read property 'split' of undefined
at new Dockerfile (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:838:25)
at Object.<anonymous> (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:861:40)
at __webpack_require__ (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:20:30)
at Object.<anonymous> (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:75:20)
at __webpack_require__ (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:20:30)
at Object.defineProperty.value (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:40:18)
at Object.<anonymous> (C:\Users\Amenallah\AppData\Roaming\npm\node_modules\meteor-now\dist\app.js:43:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)

I'm using windows.

Meteor-Now swallow now output

When deploying an app, I can't see the generated URL for the deployment:

✔ [METEOR-NOW] - building meteor app
✔ [METEOR-NOW] - preparing build
✔ [METEOR-NOW] - deploying build
✔ [METEOR-NOW] - meteor app deployed to > NOTE: Overriding duplicate env key "PORT"

Error trying to deploy from CodeShip CI

I successfully get into a state where now gives me the deploy URL, but when meteor-now actually try to upload the chunks it fails with an Upload Error. Please see SS:

codeship_upload

Iam using node 6.9.0 and now 4.10.3

It works with local deployments though

502 An error occured with your deployment.

So I've tested a few different apps. I've had success with some, and not with others. The only pattern I see is when there's a lot of keys/secrets in my settings.json. What is the best way to do this? Add a secret for every key and then remove them from settings.json, then do something like this?

meteor-now -e MONGO_URL=mongodb://mongodbURL -e NODE_ENV=production --settings settings.json -e AWSAccessKeyId=@exampleapp-aws-key -e AWSSecretAccessKey=@exampleapp-aws-secret

I tried the above but it didn't seem to work either.

I tested deploying the app to galaxy and that works, so it must be some now specific thing I'm missing.

Unknown error: TypeError: stdin.setRawMode is not a function

When there should be a prompt displayed, meteor-now receives an error here:

TypeError: stdin.setRawMode is not a function
    at Promise (/Users/ro/.nvm/versions/node/v6.10.2/lib/node_modules/now/build/lib/utils/input/prompt-bool.js:24:11)
    at module.exports (/Users/ro/.nvm/versions/node/v6.10.2/lib/node_modules/now/build/lib/utils/input/prompt-bool.js:18:10)
    at /Users/ro/.nvm/versions/node/v6.10.2/lib/node_modules/now/build/bin/now-deploy.js:617:23
    at next (native)
    at c (/Users/ro/.nvm/versions/node/v6.10.2/lib/node_modules/now/build/bin/now-deploy.js:736:99)
    at process._tickCallback (internal/process/next_tick.js:109:7)

Is there a particular version of Node I should be running to avoid this issue?

Consider using an external file for environment variables and options

Amazing job! 🎉

I think that adding a configuration file which will gather the environment variables could be useful. i.e.

//in meteorRootProject/.deployment/testing/settings.json
{
  "env": {
    "MONGO_URL": "XXXXXXXX",
    "ROOT_URL": "YYYYYYYY", 
  },
  "nowOptions": {
  ...whatever
  }
}

and then just run
meteor-now -opts .deployments/testing/settings.json

or something similar 😉

What do you think?

Automate alias for new deployed instances

Hi, awesome work!
Is there a way to automate alias rename after deploy is completed?
If not, would be great te be able to call meteor-now (...) alias=<project-url>
which would call now alias <new-deploy-id> <project-url> after deploy is complete.

What I want to accomplish is one-call-deploy, without having to scroll in the console, find the new url, and call now alias.

Thanks!

-e command not found

I have been successful to use -e and pass args earlier.

Currently, I get an -bash: -e: command not found

Need help in knowing what is going wrong here

Why does meteor-now make a server-only build?

I noticed this when deploying a meteor app:
[METEOR-NOW] - running command: meteor build .meteor/local/builds --server-only --architecture=os.linux.x86_64

why server-only param is being used?

Npm dependencies in package.json are not being installed

The first error I get is:

 Note: you are using a pure-JavaScript implementation of bcrypt.
> 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.

But in package.json, I have it:

{
  "name": "appName",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "bcrypt": "^0.8.7",
    (....)
  }
}

It works OK in galaxy, and locally, but I can't get it to work on now.
Any idea someone?
Thanks.

After first install, I get: SyntaxError: Unexpected token {

After installing, on first command (now --login), I get this:

const { resolve } = require('path')
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:990:3

Using ubuntu 17.04, nodejs version v4.7.2.

This is the installing log

npm WARN deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated [email protected]: Just use Array.isArray directly
/usr/local/bin/meteor-now -> /usr/local/lib/node_modules/meteor-now/index.js
/usr/local/bin/now -> /usr/local/lib/node_modules/now/build/bin/now.js
/usr/local/lib
├─┬ [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └── [email protected] 
│ │ ├── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├─┬ [email protected] 
│ │ │ │ │ └── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├─┬ [email protected] 
│ │ │ │ │ └─┬ [email protected] 
│ │ │ │ │   ├── [email protected] 
│ │ │ │ │   └── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └─┬ [email protected] 
│ │ │ │   └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └─┬ [email protected] 
│ │ │ │   └─┬ [email protected] 
│ │ │ │     └─┬ [email protected] 
│ │ │ │       └── [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   └─┬ [email protected] 
│ │ │     ├─┬ [email protected] 
│ │ │     │ ├─┬ [email protected] 
│ │ │     │ │ └── [email protected] 
│ │ │     │ ├── [email protected] 
│ │ │     │ └─┬ [email protected] 
│ │ │     │   └── [email protected] 
│ │ │     └── [email protected] 
│ │ └── [email protected] 
│ ├── [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├─┬ [email protected] 
│ │ │ │ │ ├── [email protected] 
│ │ │ │ │ └─┬ [email protected] 
│ │ │ │ │   └── [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ ├── [email protected] 
│ │ │ │ ├─┬ [email protected] 
│ │ │ │ │ ├── [email protected] 
│ │ │ │ │ ├── [email protected] 
│ │ │ │ │ ├── [email protected] 
│ │ │ │ │ └── [email protected] 
│ │ │ │ └─┬ [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   ├─┬ [email protected] 
│ │ │ │   │ └── [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   ├─┬ [email protected] 
│ │ │ │   │ └── [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   ├── [email protected] 
│ │ │ │   └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├── [email protected] 
│ │   └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ ├─┬ [email protected] 
│ │ │ │ └── [email protected] 
│ │ │ ├── [email protected] 
│ │ │ └── [email protected] 
│ │ ├─┬ [email protected] 
│ │ │ └─┬ [email protected] 
│ │ │   ├─┬ [email protected] 
│ │ │   │ └── [email protected] 
│ │ │   └── [email protected] 
│ │ └── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 
│ │ └─┬ [email protected] 
│ │   ├─┬ [email protected] 
│ │   │ ├── [email protected] 
│ │   │ ├── [email protected] 
│ │   │ └── [email protected] 
│ │   └─┬ [email protected] 
│ │     └── [email protected] 
│ └─┬ [email protected] 
│   └── [email protected] 
└─┬ [email protected] 
  ├── @google/[email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ └─┬ [email protected] 
  │   ├─┬ [email protected] 
  │   │ └── [email protected] 
  │   ├── [email protected] 
  │   ├── [email protected] 
  │   └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └─┬ [email protected] 
  │ │ │   ├── [email protected] 
  │ │ │   └── [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ └─┬ [email protected] 
  │ │ │   ├── [email protected] 
  │ │ │   ├── [email protected] 
  │ │ │   ├─┬ [email protected] 
  │ │ │   │ ├── [email protected] 
  │ │ │   │ ├── [email protected] 
  │ │ │   │ ├── [email protected] 
  │ │ │   │ ├── [email protected] 
  │ │ │   │ ├── [email protected] 
  │ │ │   │ └── [email protected] 
  │ │ │   └── [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ ├─┬ [email protected] 
  │ │ │ │ └─┬ [email protected] 
  │ │ │ │   └── [email protected] 
  │ │ │ └─┬ [email protected] 
  │ │ │   └─┬ [email protected] 
  │ │ │     ├── [email protected] 
  │ │ │     └── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ ├─┬ [email protected] 
  │ │ │ │ └─┬ [email protected] 
  │ │ │ │   └── [email protected] 
  │ │ │ └─┬ [email protected] 
  │ │ │   ├── [email protected] 
  │ │ │   └─┬ [email protected] 
  │ │ │     └── [email protected] 
  │ │ ├── [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └─┬ [email protected] 
  │ │   ├── [email protected] 
  │ │   └── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └─┬ [email protected] 
  │ │     └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ └─┬ [email protected] 
  │   ├── [email protected] 
  │   └─┬ [email protected] 
  │     └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ └── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └── [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └─┬ [email protected] 
  │ │   └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └── [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 

  │ └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  └─┬ [email protected] 
    ├─┬ [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └─┬ [email protected] 
    │ │   ├── [email protected] 
    │ │   ├── [email protected] 
    │ │   └── [email protected] 
    │ └─┬ [email protected] 
    │   └─┬ [email protected] 
    │     └── [email protected] 
    ├─┬ [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ └─┬ [email protected] 
    │   ├── [email protected] 
    │   └── [email protected] 
    ├── [email protected] 
    ├─┬ [email protected] 
    │ └─┬ [email protected] 
    │   ├── [email protected] 
    │   └── [email protected] 
    ├── [email protected] 
    ├─┬ [email protected] 
    │ └── [email protected] 
    └── [email protected] 

Possibly unhandled Error: 1; Deploy build without mongo url

Using meteor-now gets stuck on deploy build step after logging this.

dled Error: 1
    at Promise$_rejecter (C:\Users\ALERATOR\AppData\Roaming\npm\node_modules\me
teor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\promise.js:
590:44)
    at C:\Users\ALERATOR\AppData\Roaming\npm\node_modules\meteor-now\node_modul
es\promise-spawner\index.js:85:13
    at tryCatch1 (C:\Users\ALERATOR\AppData\Roaming\npm\node_modules\meteor-now
\node_modules\promise-spawner\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\ALERATOR\AppData\Roamin
g\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\bluebir
d\js\main\promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Use
rs\ALERATOR\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-sp
awner\node_modules\bluebird\js\main\promise.js:711:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\ALERATOR\AppDat
a\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules
\bluebird\js\main\promise.js:868:14)
    at Promise$_settlePromises [as _settlePromises] (C:\Users\ALERATOR\AppData\
Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\b
luebird\js\main\promise.js:1006:14)
    at Promise$_rejectPromises [as _rejectPromises] (C:\Users\ALERATOR\AppData\
Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\node_modules\b
luebird\js\main\promise.js:999:10)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (C:\Users\ALERA
TOR\AppData\Roaming\npm\node_modules\meteor-now\node_modules\promise-spawner\no
de_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (C:\Users\ALERATOR\AppData\Roaming\npm\node_
modules\meteor-now\node_modules\promise-spawner\node_modules\bluebird\js\main\a
sync.js:37:14)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)
⢃⠨

How to delete a previous instance?

Thank you for the awesome work.
I'm using meteor-now with my toy project.
Is there any standard way to re-deploy my project? When I just deploy again through meteor-now, It seems just leave previous instance running which is I'm not going to use anymore.
Thank you for your help, in advance.

The System Cannot Find The File Specified

Hello please i am trying to upload a meteor app using this command meteor-now mongodb://:@hhdhdh/dbase -e NODE_ENV=production but i keep getting the The System Cannot Find The File Specified. But using meteor-now everything works fine. I am on windows 10. Thank you

MONGO_OPLOG_URL and crashing deployments with mongodb atlas URLs

I'm having problems deploying when using a mongo db on atlas.
MongoError: seed list contains no mongos proxies, replicaset connections requires the parameter replicaSet to be supplied in the URI or options object, mongodb://server:port/db?replicaSet=name

keeps occuring even though my db URL looks like:
mongodb://<MYUSER>:<MYPASSWORD>@wave-shard-00-00-6ml1d.mongodb.net:27017,wave-shard-00-01-6ml1d.mongodb.net:27017,wave-shard-00-02-6ml1d.mongodb.net:27017/admin?ssl=true&replicaSet=Wave-shard-0&authSource=admin

Follow up question:
is it possible to provide the MONGO_OPLOG_URL as an environment variable?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.