[AC-5521] Arrow Cloud Project cannot start
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-02-13T22:16:12.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Arrow Cloud |
Labels | n/a |
Reporter | Jeff Bonnes |
Assignee | Shak Hossain |
Created | 2018-01-16T09:12:12.000+0000 |
Updated | 2018-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"
}}
Hello [~jeffbonnes], Thanks for sharing with us. Tested the issue and able to publish an arrow app. Console log:
Can you please try using: appc publish and let us know how it goes.
[~jeffbonnes],Did you manage to try the recommended steps?
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.