Giter VIP home page Giter VIP logo

Comments (5)

stoneqq avatar stoneqq commented on July 17, 2024 2

This is probably caused by a too-old version of nodejs.

Magland is right. I ran into the same error when I was trying to deploy mountainsort on another machine when using the conda install method. Installing the mountainlab in the conda virtual environment might cause a nodejs version confusion when you have a newer nodejs version in your system environment while there is also an older version of nodejs in your virtual environment.

Check your nodejs version using node -v when the virtual environment is either activated or deactivated, mine was -6.x and -14.x

To update the nodejs inside the virtual environment, simply use conda update -n YOUR_ENVIRONMENT_NAME nodejs.

Hopefully this will solve your issue.

from mountainsort.

hyr2 avatar hyr2 commented on July 17, 2024 1

The error is because of installing mountainsort in a new conda environment. Even if you update all the packages in the new conda environment, nodejs doesn't get updated and stays at v6.xx

The way I solved this is by upgrading nodejs manually in the conda environment for mountainsort:

conda activate <name of environment>
conda install node-js -c conda-forge
conda install nodejs -c conda-forge --repodata-fn=repodata.json

This updates nodejs from version 6.xx to 12.4.0 which is good enough to make it work!

from mountainsort.

magland avatar magland commented on July 17, 2024

This is probably caused by a too-old version of nodejs.

from mountainsort.

kimjack0 avatar kimjack0 commented on July 17, 2024

Thanks for the comment. I realized that if I install one processor and then one processor. It is okay. When I tried install all processors at the same time (using conda) some processor was not installed correctly. So now i fixed this problem using this method. My colleague also had same issue installing via conda.

from mountainsort.

warnerwarner avatar warnerwarner commented on July 17, 2024

Hi, I've been having a similar issue and did find that updating node fixed that error message, but @kimjack0 you said that you also had issues if you installed the processors in a certain order. Could you let me know what the order was that worked? I'm getting errors because I'm missing some js package I think.

from mountainsort.

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.