[TIMOB-26343] Hyperloop - When trying to compile an app it crashes on missing src directory
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2019-08-16T15:10:10.000+0000 |
Affected Version/s | Release 7.3.1 |
Fix Version/s | n/a |
Components | Hyperloop, iOS |
Labels | engSchedule, hyperloop, ios |
Reporter | Rene Pot |
Assignee | Jan Vennemann |
Created | 2018-08-29T09:42:14.000+0000 |
Updated | 2019-08-16T15:10:10.000+0000 |
Description
When trying to compile an app with Hyperloop used in the application (in my case the hyperloop-examples app) the compilation stops at the following line:
[TRACE] : [Hyperloop] Using cached CocoaPods metadata.
No further logs are shown. However, when you lower the log level to debug, you see the error
2018-08-29T09:39:30.471Z | ERROR | An uncaught exception was thrown!
ENOENT: no such file or directory, scandir '/Users/renepot/Documents/Appcelerator_Studio_Workspace/hyperloop-examples/src'
*Expected solution*
The solution in any issue like this should be simple, if the src
directory doesn't exist, it should create it.
*How to reproduce*
Remove the src
directory, re-compile.
*How to manually fix it*
Create the src
directory manually and it compiles again.
For hyperloop-examples, it crashes because it is referenced in the [appc.js](https://github.com/appcelerator/hyperloop-examples/blob/master/.appc.js#L48-L50) file. Side-note: I noticed [~gmathews] renamed "appc.js" to ".appc.js" (an invisible file) 6 days ago. Did I miss something here? [~jvennemann]?
For the renaming it's probably due to CLI-1038,
appc.js
is not friendly for any developers using the command line on Windows, rather than point the finger at Windows and close as "Wont Fix" we should really fix the issue longterm, using.appc.js
at least makes hyperloop-examples usable on Windows for now.