Giter Club home page Giter Club logo

Comments (6)

TheBv avatar TheBv commented on August 23, 2024 1

Node 19.4.0 with npm 9.2.0.
Also make sure you rerun npm install since changing versions seems to install different packages.
Happens both on Windows and Ubuntu.

from ubiq.

sebjf avatar sebjf commented on August 23, 2024 1

Done. Thanks for the reporting the issue!

from ubiq.

sebjf avatar sebjf commented on August 23, 2024

Hi @TheBv,

Could you say more about the environment you are running in/what the setup is?

If inside a new folder, I do a git clone and start the server, like so, it works OK:

$ git clone [email protected]:UCL-VR/ubiq.git .
$ cd Node/
$ npm i
$ npm start

Main issue being that we are installing the submodules as dependencies but these are never transpiled to javascript.

Do you mean to say that for your particular project you are including the ubiq server components as submodules in your project? And when transpiling your project it fails to transpile those?

Otherwise I'd suggest that it might be a good idea to add a build step to the project that builds the various modules.

This is a good suggestion for those that might want to transpile rather than use a loader. I will see if I can add a command to the package which demonstrates this.

from ubiq.

TheBv avatar TheBv commented on August 23, 2024

Could you say more about the environment you are running in/what the setup is?

Good point.
I've just tried this with node version 18 and it works fine.
I was using 19 before so I assume this might be an issue with versions >=19

Sorry for not considering that earlier ^^"

I think the easiest fix would probably to add an "engines" entry to the package.json.

from ubiq.

sebjf avatar sebjf commented on August 23, 2024

Hi @TheBv, thank you for the update!

I did a quick test of versions 20.11.0 and 19.4.0 and was able to start with those. Do you have the exact version of 19 you were using so I can try it?

from ubiq.

sebjf avatar sebjf commented on August 23, 2024

OK I see the same thing now with 19.4.0 & npm 9.2.0.

It seems version 19.7.0 and above work again.

I will add the engines section to the package to prohibit this set of versions, as suggested!

from ubiq.

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.