Code Monkey home page Code Monkey logo

Comments (4)

64json avatar 64json commented on May 5, 2024

Hi Christian,

I've been working on rewriting the entire project for major changes, and I regret to tell you that I may not be able to write documentation for local deployment and contribution until I finish rewriting it.

I haven't tested running it on Linux though, based on your log, the error seems to be caused by process.env.LANG having an inappropriate value. It should have either undefined or '' in order to work properly. I believe it is because Linux already uses the environmental variable LANG, so I may need to change the code to use another unique variable name than LANG. I will get back to you once I fix it in a few days.

Thank you for letting me know.

from algorithm-visualizer.

CristianCantoro avatar CristianCantoro commented on May 5, 2024

Hi @parkjs814,

I've been working on rewriting the entire project for major changes, and I regret to tell you that I may not be able to write documentation for local deployment and contribution until I finish rewriting it.

It's ok, thanks for your help.

I haven't tested running it on Linux though, based on your log, the error seems to be caused by process.env.LANG having an inappropriate value. It should have either undefined or '' in order to work properly. I believe it is because Linux already uses the environmental variable LANG, so I may need to change the code to use another unique variable name than LANG. I will get back to you once I fix it in a few days.

I have uset the env variable LANG:

$ unset LANG

The installation goes further, but I still get an error (see the full log):

--2018-11-20 01:03:36--  https://github.com/nlohmann/json/releases/download/v3.1.2/json.hpp
Resolving github.com (github.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'github.com'
The command '/bin/sh -c wget -O /usr/include/json.hpp https://github.com/nlohmann/json/releases/download/v3.1.2/json.hpp' returned a non-zero code: 4
Unhandled rejection Error: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

clean-webpack-plugin: /home/cristian/data/extra/algorithm-visualizer/algorithm-visualizer/src/backend/public/tracers/bin has been removed.
The command '/bin/sh -c wget -O /usr/include/json.hpp https://github.com/nlohmann/json/releases/download/v3.1.2/json.hpp' returned a non-zero code: 4

    at /home/cristian/data/extra/algorithm-visualizer/algorithm-visualizer/build/backend/index.js:1:6251
    at ChildProcess.exithandler (child_process.js:296:5)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

If you think it would not be useful to keep debugging this and I should wait for your rewrite, let me know.

Thank you!

from algorithm-visualizer.

zmwxiaoming avatar zmwxiaoming commented on May 5, 2024

yes? how to run

from algorithm-visualizer.

64json avatar 64json commented on May 5, 2024

Hi @CristianCantoro and @zmwxiaoming, I just finished testing on Ubuntu 18.04 and fixed errors including the one @CristianCantoro mentioned. Thanks for waiting! Also, I will be working on writing documentation soon.

from algorithm-visualizer.

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.