dvmarinoff / Flux

Indoor Cycling App for Structured Training
https://flux-web.vercel.app
GNU Affero General Public License v3.0
505 stars 86 forks source link

Uncaught TypeError: Failed to resolve module specifier "@vercel/analytics" #143

Closed jimx3D closed 1 year ago

jimx3D commented 1 year ago

So I am using Giant Combo BKM4AB with Ant+ and Ble, and Chromium browser. I run Windows 10. I have Garmin USB Ant+. I look in src folder, I see index.html but when I running in Wamp just static page no values changing when sensor moving.

When I click 'settings button', in Chromium is error like this:

"localhost/:1 Uncaught TypeError: Failed to resolve module specifier "@vercel/analytics". Relative references must start with either "/", "./", or "../"."

What is solution please? Thank you.

dvmarinoff commented 1 year ago

It depends on your goals:

  1. You just want to use the app:

  2. Your want to run it locally:

jimx3D commented 1 year ago

Thank you for reply, but https://flux-web.vercel.app/ is not working for me so will leave for now until project more advanced. Thank you for taking time.

dvmarinoff commented 1 year ago

This project is BLE only, ANT+ is just for Heart Rate Monitors and is experimental feature. The web page requires Google Chrome browser on Windows 10, although it will work with any modern browser that has support for Web Bluetooth.

jimx3D commented 1 year ago

ANT+ is nice to have but really looking really for quicker Ble code than https://github.com/amcolash/oled-bike-computer. OLED working very well with Giant Combo, but so slow to send data, one second per update, is too slow. Nevermind, is no problem really, just personal project for make key press in game. I have oled code working, then I add Python websockets to direct cadence data on to arrow key. Is working, but is slow!! I know this also websockets is slow as well so not just Ble code. Really I think is best to make Ble code also Python but too much for me just now!! Thank so much for helping with quick replies ^^