Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5939] Fatal error: Unable to write "tiapp.xml" file (Error code: EACCES)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-11-28T22:39:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Titanium SDK & CLI
Labelsn/a
ReporterHitesh Verma
AssigneeShak Hossain
Created2018-09-26T17:31:58.000+0000
Updated2018-11-28T22:39:43.000+0000

Description

On running appc run -p ios --build-only or appc run -p ios getting below error: Running "jsbeautifier:files" (jsbeautifier) task {color:red}*[INFO] Fatal error: Unable to write "tiapp.xml" file (Error code: EACCES).*{color} [INFO] [ERROR] Error running Grunt [ERROR] Alloy compiler failed on running grunt: error Running "jsbeautifier:files" (jsbeautifier) task {color:red}*Fatal error: Unable to write "tiapp.xml" file (Error code: EACCES).*{color}

Comments

  1. Ewan Harris 2018-09-26

    [~hverma] It looks like the project you're building is using an alloy.jmk file to run some custom grunt tasks? I'm going to guess that's where the problem lies rather than the Alloy code, we would need to be provided a project that can reproduce this issue for sure, and I'm not sure how much support we can provide for custom things like this during the build process
  2. Sharif AbuDarda 2018-09-27

    Hello, Can you please provide the sample project that regenerates the issue? Thanks.

JSON Source