Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build project on Ubuntu 22.04 #183

Closed
1 task done
PhilLovesToCode opened this issue Jun 27, 2022 · 5 comments
Closed
1 task done

Can't build project on Ubuntu 22.04 #183

PhilLovesToCode opened this issue Jun 27, 2022 · 5 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@PhilLovesToCode
Copy link

Is there an existing issue for this?

  • I have searched the opened issues

Problem description

Hello,
I tried to clone and build this project on my Ubuntu 22.04 development machine with no success. In summary, I encountered errors at every stage. The first set of errors had to do with dependency resolution. I was only able to fix those by npm removing all of the dependencies that reported errors and re-installing them one by one. However this left me with versions that differed from the original package.json, which likely caused subsequent errors. When trying to run the electron app, I again encountered numerous code errors. I fixed one or two but they kept coming, so I gave up.

Has anyone successfully built this project on Ubuntu or any other Linux distro? If so, could the contributors please find a way to update the app so it will successfully build and run on all three platforms: Windows, Mac OS, and Linux?

Thanks in advance for any help anyone can provide.
-Phil

Steps to reproduce

  1. Clone and build the project on Ubuntu 22.04.

Environment

  • OS: Ubuntu 22.04
  • App version: Latest clone
@PhilLovesToCode PhilLovesToCode added the bug Something isn't working label Jun 27, 2022
@github-actions
Copy link

Consider supporting the developer to increase priority of all your issues and get other rewards.
Patreon page: https://www.patreon.com/sigma_file_manager

@aleksey-hoffman aleksey-hoffman added the good first issue Good for newcomers label Jun 27, 2022
@aleksey-hoffman
Copy link
Owner

Hi @PhilLovesToCode
I just tried to build the latest commit on Ubuntu 21.10 with npm run electron:serve with no errors

Node: v16.6.2
NPM: v7.20.3

The prod npm run electron:build builds successfully only on some specific Node versions (e.g. 15.14.0)

Can you please show me the errors you are getting? Perhaps you're using a different Node / NPM version?

@PhilLovesToCode
Copy link
Author

Thanks for your quick response. I'll try the Node and NPM versions you provided and report back.

@PhilLovesToCode
Copy link
Author

Success! I was able to build and run the project with Node 15.14.0 and NPM 7.7.6. When I npv installed Node 15.14.0, it automatically installed NPM 7.7.6, so I stuck with that version. The code I cloned was the latest as of a few hours ago. Thanks for your help, and congratulations on building an outstanding app!

@aleksey-hoffman
Copy link
Owner

@PhilLovesToCode thanks for the feedback, mate! It will only get better with every update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants
@aleksey-hoffman @PhilLovesToCode and others