Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Deploying an Ember CLI app #1467

Closed
tehmaestro opened this issue Feb 13, 2015 · 8 comments
Closed

Deploying an Ember CLI app #1467

tehmaestro opened this issue Feb 13, 2015 · 8 comments

Comments

@tehmaestro
Copy link

Hi. I'm trying to deploy an ember-cli app to Azure Websites.
I'm running the following tasks in my deployment file

  • npm install bower
  • npm install ember-cli
  • bower install
  • npm install
  • ember build

Well, it all seems to go well, until it hits the ember build step. I get an error:

this._handle.open(options.fd)

Error: EINVAL, Invalid argument
      at new Socket (net.js:156:18)
      at process.stdin (node.js:664:19)
      at ..... ember-cli\bin\ember:28:25

Seems to be something similar to this #885
Any ideas on how I could work around this?
Thank you so much!

@davidebbo
Copy link
Member

Not sure if it's the same. Does something like this change apply here?

Do you have a repro repository you can share?

@tehmaestro
Copy link
Author

Thanks for responding. I did modify a stdin to false somewhere in the ember-cli project, and I did get a bit further, I think the build process started, but it still failed.

The script froze on 'building ..' I will make a fresh new ember cli app and give it a try. I'll be posting my progress.

@felixrieseberg
Copy link

Just to quickly add to this: I've been trying to get ember build to run in the cloud for a while now and didn't have any measurable luck. I do think it'd be cool to have though - if you guys find out what the trouble is, I'm happy to work with Ember Cli to fix whatever's going on.

@tehmaestro
Copy link
Author

Hey, I posted this to stackoverflow and got an answer which might work. I am unable to test it at the moment, but here's the answer http://stackoverflow.com/questions/28493629/how-to-deploy-an-ember-cli-app-to-azure-websites/28553596#28553596

@felixrieseberg
Copy link

I actually also figured out a way - and since I'm an Open Source guy at Microsoft, I just built a small npm module that takes care of everything. If you want a long explanation, check this out - if you just want the tl;dr version:

$ npm install ember-cli-azure-deploy --save-dev -g
$ azure-deploy init

@tehmaestro
Copy link
Author

Cool, I'll link the website and this issue to stackoverflow.
UPDATE: Oh, I see you already answered there. That's great.

@felixrieseberg
Copy link

I think we can actually close this, as https://github.com/felixrieseberg/ember-cli-azure-deploy is battle-tested at this point.

@davidebbo
Copy link
Member

Sounds good, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants