Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App tries to show "page views since 54 years ago" #104

Open
robinzimmermann opened this issue Dec 5, 2023 · 2 comments
Open

App tries to show "page views since 54 years ago" #104

robinzimmermann opened this issue Dec 5, 2023 · 2 comments

Comments

@robinzimmermann
Copy link

Describe the bug

Screenshot of error in the app and in the Javascript console:

image

Reproduces almost immediately:

  1. Clone the Vitesse Nuxt repo.
  2. Run pnpm install.
  3. Run pnpm run generate.
  4. As instructed, run npx serve .output/public
  5. Then open the app in the browser

Reproduction

The steps in the description show the error out-of-the-box, no reproduction repo is needed.

System Info

System:
    OS: macOS 14.1.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 958.78 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: 8.10.5 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 119.0.6045.199
    Safari: 17.1


### Used Package Manager

pnpm

### Validations

- [X] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guide](https://github.com/antfu/contribute).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
@robinzimmermann
Copy link
Author

It also reproduced with Node 20:

  System:
    OS: macOS 14.1.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 656.53 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 8.10.5 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 119.0.6045.199
    Safari: 17.1

@joshbmarshall
Copy link

It's just a flash of uninitialised content. in components/PageView.vue add a v-if="data?.startAt" to the div to hide it when it's not defined or is "0" - 1st Jan 1970 or currently 54 years ago

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

No branches or pull requests

2 participants