fractal-code / meteor-azure

Automate Meteor deployments on Azure App Service
MIT License
67 stars 20 forks source link

D:/home/meteor-azure: No such file or directory #51

Closed awatson1978 closed 6 years ago

awatson1978 commented 6 years ago

Hello. Thank you for putting this utility together. Any idea what the following might be? Trying to build a reference Meteor app using the current recommended versions; and a directory isn't getting created.

Operating system

MacOS HighSiera 10.13.3

Meteor version

Meteor 1.6.1

Package version (run meteor-azure -v)

v2.1.0-rc.1

Meteor App

meteor create simple-todos meteor npm install meteor-azure --save-dev meteor npm install

Azure Config

az appservice plan create --name fooServicePlan --resource-group foo --sku S1 --is-linux az webapp create --resource-group foo --plan fooServicePlan --name isthmusApp --runtime 'NODE|8.9'

Command output with debug mode enabled


debug:   check Meteor is installed
debug:   check for incompatible 'force-ssl' package
debug:   check current Meteor release >= 1.4
info:    Validating settings file
debug:   check valid json exists
debug:   check data follows schema
debug:   isthmusApp: configure kudu api
info:    Validating Kudu connection
info:    isthmusApp: Authenticating with interactive login...
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code E349UCVUY to authenticate.
debug:   isthmusApp: completed Azure authentication
info:    isthmusApp: Updating Azure application settings
debug:   isthmusApp: retrieve existing values
debug:   isthmusApp: set environment variables
debug:   isthmusApp: set Meteor settings
debug:   isthmusApp: set Kudu deployment settings
debug:   isthmusApp: set Node to v8.9.4
debug:   isthmusApp: set NPM to v5.6.0
debug:   isthmusApp: serialise values
debug:   isthmusApp: push new settings
info:    Compiling application bundle
debug:   generate meteor build
warn:    Using default web config
debug:   checking for broken symlinks
debug:   create tarball
info:    isthmusApp: Deploying bundle tarball
info:    isthmusApp: Running server initialisation
info:    isthmusApp: Polling server status...
debug:   isthmusApp: Retrieving Kudu deployment log...
debug:   Command: bash script.sh
debug:   script.sh: line 25: cd: D:/home/meteor-azure: No such file or directory
debug:   meteor-azure: Could not find bundle directory
debug:   script.sh: line 25: cd: D:/home/meteor-azure: No such file or directory\nmeteor-azure: Could not find bundle directory\n/opt/Kudu/bin/Scripts/starter.sh bash script.sh
error:   isthmusApp: Failed to complete server initialisation```
ramijarrar commented 6 years ago

It looks like you're trying to use a Linux container - this is not currently supported.

awatson1978 commented 6 years ago

Aaaaah. Thanks for the quick response. Yeah, that would do it, I suppose. Thanks.