Giter Site home page Giter Site logo

Comments (16)

GodCed avatar GodCed commented on August 16, 2024 2

Assuming you have node.js v8 installed.

$ git clone [email protected]:introlab/odas_web.git
$ cd odas_web/
$ npm install
$ npm start

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Hi @suekiti0327,

You state you have installed node.js and npm but require help with the installation?
What problem are you experiencing so that I can help you resolve the issue?

Did you follow the ODAS Studio installation instructions?
Did you use node.js v8? It is the required LTS version for ODAS Studio.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Hi @GodCed

For confirmation, I'm glad if node.js and npm can teach you how to install.
Also, I'm glad to share with you the steps after installing them.

When I install node.js and npm and execute npm start as root, I get an npm error.

I was following the installation procedure of odas studio.

I use node.js v8.

That's the answer to your question.

I apologize for the inconvenience, but thank you.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

IMG_2484
This is the situation when you get an error.

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

You don't need to run as root. The root folder is a reference to the base directory of the project.
The error you get is that electron is not installed.
Try again to run npm install and npm start without root user.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Which directory should I use for npm install and npm start?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

In the base directory of the code, where the package.json file is located.
In your case I think it is /home/pi/Downloads/odas_web-0.2-alpha.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

IMG_2485
I'm sorry!
I did what you say. Then I get an error and it doesn't work.
What should I do in this case?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Running as root probably messed up permissions in your downloaded code folder. Try deleting the folder and starting from a fresh download.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

I apologize for the inconvenience, could you please let me know your recommended procedure from scratch?
I am really sorry.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

IMG_2486
I'm sorry.
I can not delete the file I used until now.
If I do git clone in that state, it will be like the picture.
What should I do?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Try cloning with this url instead.
$ git clone https://github.com/introlab/odas_web.git

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

IMG_2489
IMG_2490
IMG_2491
I'm sorry.
When npm install, it keeps spiting an error.
What kind of countermeasure should I do?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Did you change node.js version? The node.js version stated in the error message is node.js v12 but you had v8. You need v8 for the installation to work.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

In that case, how should I change the current version?
Could you tell me?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Please see the node.js installation instructions.

$ node -v should return v8.

from odas_web.

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.