Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong with now #97

Closed
trinicoder opened this issue Feb 6, 2018 · 6 comments
Closed

Something went wrong with now #97

trinicoder opened this issue Feb 6, 2018 · 6 comments

Comments

@trinicoder
Copy link

trinicoder commented Feb 6, 2018

`PS C:\Users\NAME\fullstack\testapp> meteor-now -d
i [METEOR-NOW] - clearing build folder
i [METEOR-NOW] - Building meteor app (this can take several minutes)
i [METEOR-NOW] - $ meteor build C:\Users\NAME/.meteor-now/build --server-only --architecture=os.linux.x86_64
i [METEOR-NOW] - Preparing build
‼ [METEOR-NOW] - 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] - WARNING: It might take a few minutes for the app to connect to the bundled MongoDB instance after the deployment has completed.
i [METEOR-NOW] - creating supervisord.conf
i [METEOR-NOW] - splitting bundle
i [METEOR-NOW] - Deploying build (this can take several minutes)
× [METEOR-NOW] - Something went wrong with now`

Ran meteor create on a new app can't deploy! - v1.6.1

@hwillson
Copy link

See #92. Even if you're not using it, try creating a production.settings.json file in your app root with the contents {}.

@trinicoder
Copy link
Author

This issue arises when I use windows 10. On Linux (fedora) I am able to get my apps up and running. Windows seems to be problematic

@trinicoder
Copy link
Author

√ [METEOR-NOW] - Preparing build
⢀⠀ [METEOR-NOW] - Deploying build (this can take several minutes) args are  { _:
   [ 'C:\\Program Files\\nodejs\\node.exe',
     'C:\\Users\\vsilochan\\AppData\\Roaming\\npm\\node_modules\\meteor-now\\build\\main.js' ],
  help: false,
  version: false,
  '$0': '..\\..\\AppData\\Roaming\\npm\\node_modules\\meteor-now\\build\\main.js' }
× [METEOR-NOW] - Something went wrong with now TypeError: Object.entries is not a function

@jkrup
Copy link
Owner

jkrup commented Mar 1, 2018

Ah, okay I think I might see the issue:

i [METEOR-NOW] - $ meteor build C:\Users\NAME/.meteor-now/build --server-only --architecture=os.linux.x86_64

The mix of \ and / looked off:

https://github.com/jkrup/meteor-now/blob/master/src/api/constants.js#L12 seems we hardcoded those /'s maybe that needs to check if it's windows and then do \s

I'll try to get a beta version out that you can try on your windows machine!

@jkrup
Copy link
Owner

jkrup commented Mar 1, 2018

Okay, @trinicoder I just made a @beta #100 so please try running npm install meteor-now@beta. And then re-running meteor-now from your PC

@trinicoder
Copy link
Author

trinicoder commented Mar 1, 2018

Nice! The fix seems to work as I was able to deploy my meteor app successfully on Windows 10 for the first time. Thanks!

@jkrup jkrup closed this as completed Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants