[GH-ISSUE #140] VUE_APP_FATHOM_SITE_ID bug on yarn serve #9

Closed
opened 2026-02-26 04:36:29 +03:00 by kerem · 6 comments
Owner

Originally created by @yagoazedias on GitHub (Jul 28, 2020).
Original GitHub issue: https://github.com/moollaza/repo-remover/issues/140

Describe the bug
A bug appears on my startup application, Template execution failed: ReferenceError: VUE_APP_FATHOM_SITE_ID is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo onto your machine
  2. Install the node version v10.19.0 with nvm
  3. Execute with yarn serve
  4. See error

Expected behavior
Screenshots
You should see something like the image below
Screen Shot 2020-07-27 at 21 05 12

Desktop (please complete the following information):

  • OS: MacOS - Catalina 10.15.6 (19G73)
  • Version v10.19.0

Additional context
I'll keep trying to execute, if for some reason i find out what is going on I'll close the issue or create a PR 👍

Originally created by @yagoazedias on GitHub (Jul 28, 2020). Original GitHub issue: https://github.com/moollaza/repo-remover/issues/140 **Describe the bug** A bug appears on my startup application, `Template execution failed: ReferenceError: VUE_APP_FATHOM_SITE_ID is not defined` **To Reproduce** Steps to reproduce the behavior: 1. Clone the repo onto your machine 2. Install the node version v10.19.0 with nvm 3. Execute with yarn serve 4. See error **Expected behavior** **Screenshots** You should see something like the image below <img width="667" alt="Screen Shot 2020-07-27 at 21 05 12" src="https://user-images.githubusercontent.com/11080296/88604016-e073d180-d04c-11ea-9e2d-0cc61c107eb8.png"> **Desktop (please complete the following information):** - OS: MacOS - Catalina 10.15.6 (19G73) - Version v10.19.0 **Additional context** I'll keep trying to execute, if for some reason i find out what is going on I'll close the issue or create a PR 👍
kerem 2026-02-26 04:36:29 +03:00
Author
Owner

@moollaza commented on GitHub (Jul 31, 2020):

@yagoazedias thanks for posting this.

I guess you'll need to define that ENV variable in order for this to work. I suppose I could put a .env file in the repo with a blank value for that. You could do the same or just run VUE_APP_FATHOM_SITE_ID='' yarn serve

Alternatively, you could also remove the bit of HTML that references that in index.html (at the bottom). It's only used to pass along the Fathom Analytics Site ID to a script tag

<!-- gh-comment-id:666861374 --> @moollaza commented on GitHub (Jul 31, 2020): @yagoazedias thanks for posting this. I guess you'll need to define that ENV variable in order for this to work. I suppose I could put a `.env` file in the repo with a blank value for that. You could do the same or just run `VUE_APP_FATHOM_SITE_ID='' yarn serve` Alternatively, you could also remove the bit of HTML that references that in `index.html` (at the bottom). It's only used to pass along the Fathom Analytics Site ID to a script tag
Author
Owner

@yboujraf commented on GitHub (Sep 11, 2020):

Dear,

I created the .env file and added :

VUE_APP_FATHOM_SITE_ID='';

and it fixes the issue.

Best Regards

Youssef

<!-- gh-comment-id:691122390 --> @yboujraf commented on GitHub (Sep 11, 2020): Dear, I created the .env file and added : ``` VUE_APP_FATHOM_SITE_ID=''; ``` and it fixes the issue. Best Regards Youssef
Author
Owner

@dkebler commented on GitHub (Sep 26, 2020):

or remove that html in /public that worked too.

<!-- gh-comment-id:699274864 --> @dkebler commented on GitHub (Sep 26, 2020): or remove that html in /public that worked too.
Author
Owner

@dkebler commented on GitHub (Sep 26, 2020):

well that didn't work as when I went to delete the app posted
Failed to delete "logger": fathom is not defined

<!-- gh-comment-id:699278089 --> @dkebler commented on GitHub (Sep 26, 2020): well that didn't work as when I went to delete the app posted Failed to delete "logger": fathom is not defined
Author
Owner

@dkebler commented on GitHub (Sep 26, 2020):

I take it back. They were deleted despite the error message. All an all this Fathom analytics was a distraction. Is it really necessary? Maybe you can make it optional and off by default.

<!-- gh-comment-id:699280632 --> @dkebler commented on GitHub (Sep 26, 2020): I take it back. They were deleted despite the error message. All an all this Fathom analytics was a distraction. Is it really necessary? Maybe you can make it optional and off by default.
Author
Owner

@moollaza commented on GitHub (Sep 29, 2020):

@dkebler I've pushed an update. Fathom should be ignored in dev mode.

<!-- gh-comment-id:700363217 --> @moollaza commented on GitHub (Sep 29, 2020): @dkebler I've pushed an update. Fathom should be ignored in dev mode.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/repo-remover-moollaza#9
No description provided.