Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5521] Arrow Cloud Project cannot start

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2018-02-13T22:16:12.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsArrow Cloud
Labelsn/a
ReporterJeff Bonnes
AssigneeShak Hossain
Created2018-01-16T09:12:12.000+0000
Updated2018-02-13T22:16:12.000+0000

Description

I have an old Arrow app that stopped a while ago. When i try to republish it, it looks like it works, but the app cannot start. There have been no changes to the app. Has something changed in Arrow cloud? {{>acs publish --force ACS: Axway API Runtime Cloud Services Command-Line Interface, version 2.0.8 Copyright (c) 2012-2018, Axway, Inc. All Rights Reserved. Admin Hostname: https://admin.cloudapp-enterprise.appcelerator.com Preparing application for publish... done removed 117 packages in 0.956s Packing application... done Node modules [acs-node,archiver,async,btoa,moment-timezone,nodemailer,request,tmp,underscore] will be loaded from npm site by Node.ACS Cloud Publishing to cloud... [##########################################################################] 100% Deleting the oldest app version Start loading node modules... Done loading node modules! Node modules are loaded. Creating docker image for app... App smartsafe version 0.1.0 published. App will be available at https://aba5b9ef90af479c0b2a0361f81280e8801d383f.cloudapp-enterprise.appcelerator.com}} {{ acs logcat ACS: Axway API Runtime Cloud Services Command-Line Interface, version 2.0.8 Copyright (c) 2012-2018, Axway, Inc. All Rights Reserved. Admin Hostname: https://admin.cloudapp-enterprise.appcelerator.com Retrieving debug log from the server 2018-01-16T19:20:07+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:20:07+11:00 | [app_launcher] type: mvc 2018-01-16T19:20:07+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:20:42+11:00 | 2018-01-16T08:20:24.274Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:20:42+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:20:42+11:00 | [app_launcher] type: mvc 2018-01-16T19:20:42+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:21:36+11:00 | 2018-01-16T08:21:15.721Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:21:47+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:21:47+11:00 | [app_launcher] type: mvc 2018-01-16T19:21:47+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:22:32+11:00 | 2018-01-16T08:22:12.073Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:32:42+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:32:42+11:00 | [app_launcher] type: mvc 2018-01-16T19:32:42+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:33:35+11:00 | 2018-01-16T08:33:14.720Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:33:45+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:33:45+11:00 | [app_launcher] type: mvc 2018-01-16T19:33:45+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:34:26+11:00 | 2018-01-16T08:34:03.776Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:35:52+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:35:52+11:00 | [app_launcher] type: mvc 2018-01-16T19:35:52+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" 2018-01-16T19:36:46+11:00 | 2018-01-16T08:36:26.063Z | ERROR | Cannot find module. "moment-timezone". Error: Cannot find module 'moment-timezone' 2018-01-16T19:36:56+11:00 | [app_launcher] main script of package.json: app.js 2018-01-16T19:36:56+11:00 | [app_launcher] type: mvc 2018-01-16T19:36:56+11:00 | [app_launcher] starting application via "/usr/local/bin/arrowcloud-mvc -p 80 -d /opt/app" }}

Comments

  1. Mostafizur Rahman 2018-02-01

    Hello [~jeffbonnes], Thanks for sharing with us. Tested the issue and able to publish an arrow app. Console log:
       
       Sharifs-MacBook-Pro:bbbbb sharifabudarda$ appc publish
       Appcelerator Command-Line Interface, version 7.0.1
       Copyright (c) 2014-2018, Appcelerator, Inc.  All Rights Reserved.
       
       Publishing application ... this could take several minutes
       Packaging application ... 
       Deploying application ... 
       Starting application ... 
       Application deployed to https://4ecdd0a21cf6155b7833281ec5f1bf8ce49f011c.cloudapp-enterprise.appcelerator.com
       Published api/bbbbb@1.0.0
       
    Can you please try using: appc publish and let us know how it goes.
  2. Mostafizur Rahman 2018-02-12

    [~jeffbonnes],Did you manage to try the recommended steps?
  3. Jeff Bonnes 2018-02-12

    I did. I get The required configuration file appc.json is missing from the project directory. Please provide the below details to create a configuration file (appc.json). I'm giving up and moving it to an AWS Lamda function. Please close this ticket.

JSON Source