Giter Club home page Giter Club logo

Comments (4)

linusg avatar linusg commented on September 25, 2024

**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.

compusolve-rsa avatar compusolve-rsa commented on September 25, 2024

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.

linusg avatar linusg commented on September 25, 2024

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.

compusolve-rsa avatar compusolve-rsa commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.