GithubHelp home page GithubHelp logo

Missing build instructions about tobii HOT 4 CLOSED

midzer avatar midzer commented on August 27, 2024
Missing build instructions

from tobii.

Comments (4)

midzer avatar midzer commented on August 27, 2024

npm run build works for me.
I'm using npm 7.5.2 and node v12.21.0.

Are you on windows?

from tobii.

viliusle avatar viliusle commented on August 27, 2024
  1. To make build work on Windows, you need:
  • run npm install --save-dev cross-env command
  • replace BROWSERSLIST_ENV to cross-env BROWSERSLIST_ENV on package.json

After that, build works on Windows and unix/mac (tested).

  1. Still can not figure out what to do with npm run dev:
  • dist/*.css is not updated, only dist/tobi.js
  • demo with dist/tobii.js does not work: module is not defined && Tobii is not defined

from tobii.

viliusle avatar viliusle commented on August 27, 2024

2nd problem fixed using microbundle watch --raw and demo/modern.html.
So what is purpose of microbundle watch --raw --format cjs ?

You have to write build instructions, first build takes too much time alone to make it work.

from tobii.

viliusle avatar viliusle commented on August 27, 2024

@midzer It would be good to enable wiki (read only) and create Building instructions article, and link it on readme.MD
You can also add contribution guide.

from tobii.

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.