question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

client js not working

See original GitHub issue

Describe the bug

image

http://localhost:4173/docs/ui/hdatetime/

pnpm dev working but build after serve dont working all buttons

Reproduction

https://github.com/huntersofbook/huntersofbook/tree/feat/i18n

branch: feat/i18n

  1. pnpm install
  2. pnpm build
  3. cd/apps/docs
  4. pnpm build
  5. pnpm serve

Expected behavior

click buttons

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 19.96 GB / 31.12 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.17.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.15.0 - /usr/bin/npm
  Browsers:
    Chrome: 105.0.5195.102


open-source on  feat/i18n via  v16.17.0 took 2s

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
productdevbookcommented, Sep 5, 2022

It wasn’t working for me very much, now it is working. Thanks for the feedback.

0reactions
productdevbookcommented, Sep 6, 2022

Most likely the issue is with the custom i18n stuff you are doing not VitePress itself.

How do I find a bug, it’s working on the dev. but dont working serve 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client side js file is not working | node.js - Stack Overflow
But the js file is not working and when I checked the network tab I saw js file is received as text/html file....
Read more >
Client Side JavaScript does not run at all
Solved: Hello everyone, I'm looking for some help with client side scripting using javascript. I've been stuck on this for a couple of...
Read more >
What went wrong? Troubleshooting JavaScript - MDN Web Docs
So there we have it, the basics of figuring out errors in simple JavaScript programs. It won't always be that simple to work...
Read more >
Javascript doesn't work client-side · Issue #299 - GitHub
Hi,. I have a javascript file in my static ressources when I use it server-side or in local without open-component it work perfectly, ......
Read more >
Error Messages | Maps JavaScript API - Google Developers
This page describes the error messages that can be returned by the Maps JavaScript API. The Maps JavaScript API writes error and warning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found