Skip to content

Fix missing module error in Elixir release#11

Open
almirsarajcic wants to merge 4 commits intointercom:masterfrom
almirsarajcic:runtime-dependency
Open

Fix missing module error in Elixir release#11
almirsarajcic wants to merge 4 commits intointercom:masterfrom
almirsarajcic:runtime-dependency

Conversation

@almirsarajcic
Copy link

@almirsarajcic almirsarajcic commented May 14, 2021

I'm deploying app using Elixir release and in production I was getting this error:

** (UndefinedFunctionError) function ESTree.Tools.Builder.identifier/1 is undefined (module ESTree.Tools.Builder is not available)
  ESTree.Tools.Builder.identifier(:Intercom)
  (intercom 0.0.1) lib/intercom.ex:21: Intercom.boot/1
  (intercom 0.0.1) lib/intercom.ex:16: Intercom.boot/1
  (intercom 0.0.1) lib/intercom.ex:58: Intercom.snippet/2

This PR fixes the error by defining estree dependency as a runtime to be included in the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant