jeudi 12 février 2015

How to deploy an Ember CLI app to Azure Websites

I'm trying to deploy an ember-cli app to Azure Websites. When deploying to azure, you run a deployment script, which does the following:



- 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


Searching around I found this link regardin the same problem with Grunt http://ift.tt/1uMHTA8 So, how would I disable stdin in Ember CLI? Any way I can do that, or any workaround so I can deploy the app?


I'm trying to make the build process on the webserver, and somehow this doesn't work on Azure. Does anyone have any experience with Azure? Thank you so much!





Aucun commentaire:

Enregistrer un commentaire