Comments (4)
**manually building with yarn
I got the recorder app (ot-recorder via ppa) running on ubuntu without docker. Tried docker but the setup gives no clue how to configure the docker container to the installed mosquitto service on ubuntu.
I don't see how that's connected to yarn? Seems like you should discuss this in https://github.com/owntracks/recorder instead.
**frontend dist build
After that I tried to download and build the front end with yarn. Oh wow, troublesome. Peer dependencies fail on yarn install, and when I try to satisfy them one by one, it just gets worse.
Happy to look into that but need complete logs, OS details etc. Still works on my machine ™️
➜ frontend git:(34cc489) rm -rf node_modules
➜ frontend git:(34cc489) yarn && yarn build
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "@types/leaflet@^1.5.7".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "babel-jest > babel-preset-jest > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @vue/[email protected]" has unmet peer dependency "prettier@>= 1.13.0".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "babel-jest > babel-preset-jest > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > [email protected]" has unmet peer dependency "prettier@>= 1.13.0".
warning " > [email protected]" has unmet peer dependency "webpack@^1 || ^2 || ^3 || ^4 || ^5".
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
[4/4] Building fresh packages...
Done in 34.29s.
yarn run v1.22.4
$ vue-cli-service build
⠹ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
⠸ Building for production...
WARNING Compiled with 3 warnings 14:19:59
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.e58e6f49.js (869 KiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (972 KiB)
css/chunk-vendors.020597aa.css
js/chunk-vendors.e58e6f49.js
css/app.9c79704f.css
js/app.24b831c5.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist/js/chunk-vendors.e58e6f49.js 869.42 KiB 256.19 KiB
dist/js/app.24b831c5.js 43.67 KiB 11.99 KiB
dist/config/config.example.js 0.13 KiB 0.11 KiB
dist/css/chunk-vendors.020597aa.css 48.72 KiB 10.96 KiB
dist/css/app.9c79704f.css 10.36 KiB 2.43 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
Done in 26.66s.
**lower level api for old mobile (>android2.1) phones
The android app works well but fails to install on older devices. I got an old cm11 phone lying around that would be great as a tracking device, but a parsing error keeps popping up when I try to install the app.
That doesn't belong here either, please open a separate issue in https://github.com/owntracks/android.
from frontend.
Update on front-end build. I had to downgrade node 14 to node 10 to get the front-end to build. There were unmet peer dependencies but it give output a dist.
from frontend.
I had to downgrade node 14 to node 10 to get the front-end to build.
Thanks for the feedback. I'm using 12.16.3 on my machine and the Docker image uses 10.x - so it might be good to specify a version range in package.json
and eventually investigate how we can make it build with 14.x.
from frontend.
Got a dist with the version numbers you specified above.
A newbie question for vue. How do I launch this? Is there a config file that needs to be tweaked to point to the recorder?
from frontend.
Related Issues (20)
- URL-Encode is hindering HOT 4
- Improvement: Selection of Settings HOT 1
- router basePath parameter in config doesn't work with reverse proxy HOT 4
- locale based scale and distance units HOT 2
- Different color and marker depending on user HOT 2
- FrontEnd get data from external geojson HOT 1
- Have frontend map utilize owntracks/+/+/info information for map display HOT 9
- Indicate Points of Interest (POI) on the map HOT 8
- Timezone and ISO localtime at published location in Recorder API HOT 4
- Version popup contains link to no-longer used social media HOT 3
- No data in frontend. HOT 2
- [Request] Add toggleable arrows showing which direction the user went on the map HOT 5
- Migration from Vue 2 to Vue 3 HOT 1
- index.html with absolute links HOT 5
- is the accuracy displayed in the card? HOT 3
- Feature: When was the last time/s I was at a specific location HOT 1
- Missing download button? HOT 1
- Doesn't load map element HOT 5
- Include precompiled dist/ in releases HOT 4
- Frontend doesn't show any points HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontend.