frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.49k stars 741 forks source link

Too many Errors in the installation of FUXA using NPM command in CMD #1243

Closed abdulbasit0001 closed 4 days ago

abdulbasit0001 commented 1 week ago

Screenshot (75)

Facing these issues while the installation of FUXA. Please tell me how to resolve it? I changed the Python version but it did not work. What else can I do?

abdulbasit0001 commented 1 week ago

There is not a single error there are too many errors I do not know how to resolve it. As soon as I use this command npm install -g --unsafe-perm @frangoteam/fuxa the errors appears.

unocelli commented 1 week ago

Hi, try the version without node-snap7 (Siemens S7 communication) npm install -g --unsafe-perm @frangoteam/fuxa-min

mariorl commented 1 week ago

Hi, in my case (Windows) I'm almost sure this problem (and more concrete "cant find any visual studio installation to use") can be avoided when you install node, during that (last step), you are asked about the installation of some external dependencies (from powershell). Click yes and be patient because it takes time. Please if you get fixed in this way tell us.

abdulbasit0001 commented 1 week ago

Hi, try the version without node-snap7 (Siemens S7 communication) npm install -g --unsafe-perm @frangoteam/fuxa-min

Screenshot (81)

Still it is not working, I am unable to install FUXA after attempting many attempts this method still not working.

abdulbasit0001 commented 1 week ago

Still it is not working, I am unable to install FUXA after attempting many attempts this method still not working.

abdulbasit0001 commented 1 week ago

Hi, in my case (Windows) I'm almost sure this problem (and more concrete "cant find any visual studio installation to use") can be avoided when you install node, during that (last step), you are asked about the installation of some external dependencies (from powershell). Click yes and be patient because it takes time. Please if you get fixed in this way tell us.

Screenshot (82)

After attempting this method I cannot solve my issue in installation.

abdulbasit0001 commented 1 week ago

After attempting this method I cannot solve my issue in installation.

mariorl commented 1 week ago

seems you need to install node before, since npm command is not recognized

sephi251090 commented 1 week ago

Hello, you need to install Node.js with npm first. Check your windows Path after. And, it's now better to user PowerShell in windows, instead of cmd :)

abdulbasit0001 commented 4 days ago

issue2 issue3

I have resolved my issue successfully and now FUXA has insatalled without any error. There were several issues which I am mentioning here for the help of others:

  1. Install the Python latest version and the correct path in Environmental Variables (C:\Program Files\Python312)
  2. Install and update Visual Studio latest version and do not forget to download the feature name Desktop development with C++
  3. Install specific version of Node JS and NPM i.e Node 14.21.3 NPM 6.14.18 (Do not use latest version only this)
  4. Run the command in the last to install FUXA successfully without any errors. Warnings are acceptable.

Note: If someone wants to use CMD or Powershell its okay but I will prefer to use powershell and run it as administrator.