# Unable to use Appflow for build

**URL:** <https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893>\
**Category:** Appflow\
**Created:** [December 8, 2020, 2:42pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893 "2020-12-08T14:42:55Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![grabdoc](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@grabdoc](https://forum.ionicframework.com/u/grabdoc)\
**Post date:** [December 8, 2020, 2:42pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/1 "2020-12-08T14:42:55Z")

</div>

Hi last 4 days I am unable to build using appflow anymore. The create new build does not even load. Logged an issue with the support they are working on it forever - seems to have no interest in your pain even if you are paying for the service. On debugging using devtools this is what I see.

[js.hs-scripts.com/3776657.js:5](http://js.hs-scripts.com/3776657.js:5) Refused to load the script ‘[https://js.hs-banner.com/3776657.js](https://js.hs-banner.com/3776657.js)’ because it violates the following Content Security Policy directive: "script-src ‘report-sample’ ‘self’ ‘unsafe-eval’ ‘unsafe-inline’ [https://browser.sentry-cdn.com](https://browser.sentry-cdn.com) [https://cdn.ravenjs.com](https://cdn.ravenjs.com) [https://cdn.segment.com](https://cdn.segment.com) [https://d2yyd1h5u9mauk.cloudfront.net](https://d2yyd1h5u9mauk.cloudfront.net) [https://dna8twue3dlxq.cloudfront.net](https://dna8twue3dlxq.cloudfront.net) …

(anonymous) @ [js.hs-scripts.com/3776657.js:5](http://js.hs-scripts.com/3776657.js:5)  
breadcrumbs.ts:111 [Delighted] Survey not shown because person is not eligible until Fri Jan 08 2021 05:29:32 GMT-0600

As a result of this error UI seems to be not loading. Anyone faced this issue before? Urgent help will be appreciated.

---

<div class="post-metadata">

**Author:** ![airbly](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/airbly/32/133890_2.png) [@airbly](https://forum.ionicframework.com/u/airbly)\
**Post date:** [December 8, 2020, 3:09pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/2 "2020-12-08T15:09:58Z")

</div>

Morning,

We are having the same issue and have had a ticket into tech support for the past 5 days. They have told us the engineers are working on it.

We are using Chrome Version 87.0.4280.88 (Official Build) (64-bit). We have tried it on multiple platforms (windows, chromeOS, android, etc) without any luck.

- Chris

---

<div class="post-metadata">

**Author:** ![netkow](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/netkow/32/137759_2.png) [@netkow](https://forum.ionicframework.com/u/netkow)\
**Post date:** [December 8, 2020, 8:06pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/3 "2020-12-08T20:06:05Z")

</div>

The Appflow team is currently investigating the issue. Thanks for your patience!

In the meantime, you might try a “hard refresh” of the page - hold Shift key + click Refresh in browser (or hold command key and click Refresh on Mac).

---

<div class="post-metadata">

**Author:** ![grabdoc](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@grabdoc](https://forum.ionicframework.com/u/grabdoc)\
**Post date:** [December 8, 2020, 8:51pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/4 "2020-12-08T20:51:17Z")

</div>

That’s not very useful. It takes back to commit listing view

---

<div class="post-metadata">

**Author:** ![rgroli](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rgroli/32/135287_2.png) [@rgroli](https://forum.ionicframework.com/u/rgroli)\
**Post date:** [December 9, 2020, 10:00am UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/5 "2020-12-09T10:00:09Z")

</div>

Same here and it is stilll not solved after 5 days. This is the core feature of the platform and therefore not a great experience to be honest. Also quite strange that this it’s not mentioned anywhere here: [https://status.ionicframework.com/](https://status.ionicframework.com/)

---

<div class="post-metadata">

**Author:** ![thechurchonline](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@thechurchonline](https://forum.ionicframework.com/u/thechurchonline)\
**Post date:** [December 9, 2020, 2:34pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/7 "2020-12-09T14:34:16Z")

</div>

Still not fixed. Can’t build apps since yesterday

---

<div class="post-metadata">

**Author:** ![grabdoc](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@grabdoc](https://forum.ionicframework.com/u/grabdoc)\
**Post date:** [December 9, 2020, 2:50pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/8 "2020-12-09T14:50:05Z")

</div>

We are now stuck with no build for almost a week.  
Guys can you please rollback your changes to what was working a week ago. You must have git and tag?

Let us run our build. In the meantime you can fix your banner or analytics ja bugs , thoroughly test and redeploy blue/green.

---

<div class="post-metadata">

**Author:** ![rgroli](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rgroli/32/135287_2.png) [@rgroli](https://forum.ionicframework.com/u/rgroli)\
**Post date:** [December 9, 2020, 3:15pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/9 "2020-12-09T15:15:35Z")

</div>

@grabdoc In my ticket they responded that there’s a workaround. You should start the build not over the commit page but over the build page. There you can select the commit. That works for me. But still no luck on the commit page.

---

<div class="post-metadata">

**Author:** ![mysilentdiscoclub](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@mysilentdiscoclub](https://forum.ionicframework.com/u/mysilentdiscoclub)\
**Post date:** [December 9, 2020, 3:20pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/10 "2020-12-09T15:20:23Z")

</div>

I also tried just adding the package.json file a few places as a random test, but no dice.

Think they have a syntax error in their build script:

/usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/rubygems/core\_ext/kernel\_require.rb:92:in `require': /Users/ionic/builds/MyApp/App/fastlane/actions/build_pro_app.rb:16: syntax error, unexpected local variable or method, expecting `then’ or ‘;’ or ‘\n’ (SyntaxError)  
…ile.file?(‘package.json’) raise "No package.json file found …  
… ^ ~~~~  
/Users/ionic/builds/MyApp/App/fastlane/actions/build\_pro\_app.rb:28: syntax error, unexpected local variable or method, expecting `then’ or ‘;’ or ‘\n’  
…ile.file?(‘package.json’) raise "No package.json file found …  
… ^ ~~~~

---

<div class="post-metadata">

**Author:** ![grabdoc](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@grabdoc](https://forum.ionicframework.com/u/grabdoc)\
**Post date:** [December 9, 2020, 3:28pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/11 "2020-12-09T15:28:29Z")

</div>

I received same update to ticket. Build seems to be triggered from builds page. However builds are failing with package.json not found issues as mentioned above. So it’s still unstable and I am not able to build. I will keep trying.  
I will report the same back on the ticket after some more attempts.

---

<div class="post-metadata">

**Author:** ![rgroli](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rgroli/32/135287_2.png) [@rgroli](https://forum.ionicframework.com/u/rgroli)\
**Post date:** [December 9, 2020, 3:40pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/12 "2020-12-09T15:40:23Z")

</div>

Yeah same here. It’s still broken.

---

<div class="post-metadata">

**Author:** ![mattyf](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mattyf](https://forum.ionicframework.com/u/mattyf)\
**Post date:** [December 9, 2020, 3:52pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/13 "2020-12-09T15:52:43Z")

</div>

Ditto, same problem with similar error. Successful builds from before approx 14:50 GMT then failures after that with the following errors

```auto
/usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': Syntax error in build_pro_app.rb (FastlaneCore::Interface::FastlaneError)
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/actions/actions_helper.rb:137:in `rescue in block in load_external_actions'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/actions/actions_helper.rb:129:in `block in load_external_actions'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/actions/actions_helper.rb:128:in `each'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/actions/actions_helper.rb:128:in `load_external_actions'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane.rb:43:in `load_actions'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/commands_generator.rb:33:in `start'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/gems/fastlane-2.166.0/bin/fastlane:23:in `<top (required)>'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/bin/fastlane:23:in `load'
	from /usr/local/Cellar/fastlane/2.166.0/libexec/bin/fastlane:23:in `<main>'
/usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': /Users/ionic/builds/matt.folkard/ucoin-client/fastlane/actions/build_pro_app.rb:16: syntax error, unexpected local variable or method, expecting `then' or ';' or '\\n' (SyntaxError)
...ile.file?('package.json') raise "No package.json file found ...

```

---

<div class="post-metadata">

**Author:** ![LgArcida](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@LgArcida](https://forum.ionicframework.com/u/LgArcida)\
**Post date:** [December 9, 2020, 3:55pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/14 "2020-12-09T15:55:46Z")

</div>

Same here yesterday was all sunshine now I got the same error:

> “No package.json file found in root of project.”

So far I was not able to find any solution or workaround, need this ASAP

---

<div class="post-metadata">

**Author:** ![LgArcida](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@LgArcida](https://forum.ionicframework.com/u/LgArcida)\
**Post date:** [December 9, 2020, 4:28pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/15 "2020-12-09T16:28:05Z")

</div>

Just checked and debug builds for Android are back online 😁

---

<div class="post-metadata">

**Author:** ![kdhrubo](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kdhrubo](https://forum.ionicframework.com/u/kdhrubo)\
**Post date:** [December 9, 2020, 5:34pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/16 "2020-12-09T17:34:33Z")

</div>

Yes, I can also confirm that builds are back to normal.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [December 9, 2020, 7:42pm UTC](https://forum.ionicframework.com/t/unable-to-use-appflow-for-build/200893/17 "2020-12-09T19:42:30Z")

</div>

Closed on December 9, 2020, 7:42pm UTC


