Skip to content
This repository was archived by the owner on Oct 7, 2026. It is now read-only.

Fix missing module error in Elixir release - #11

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

almirsarajcic wants to merge 4 commits into
intercom:masterfrom
almirsarajcic:runtime-dependency

Conversation

@almirsarajcic

@almirsarajcic almirsarajcic commented May 14, 2021 •

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant