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

Unable to run PotreeDesktop.bat #35

Open
Pap1956 opened this issue Jan 28, 2022 · 2 comments
Open

Unable to run PotreeDesktop.bat #35

Pap1956 opened this issue Jan 28, 2022 · 2 comments

Comments

@Pap1956
Copy link

Pap1956 commented Jan 28, 2022

Hi when I try to run above mentioned bat (1.8), I get Windows message saying that it cannot find ./node_modules/electron/dist/electron.exe

NodeJS in installed, I guess some modiles are missing.. any help? I think similar issue as #34

@Pap1956
Copy link
Author

Pap1956 commented Jan 31, 2022

I found a solution to this issue:
After installing NodeJS you must:

  1. install electron from cmd prompt do:
    git clone https://github.com/electron/electron-quick-start
    cd electron-quick-start
    npm install && npm start
  2. then install PotreeDesktop from cmd do:
    git clone https://github.com/potree/PotreeDesktop.git C:/PotreeDesktop
    cd C:/PotreeDesktop
    npm install
    npm start

    You must have git to run these commands https://github.com/git-for-windows/git/releases/download/v2.35.1.windows.1/Git-2.35.1-32-bit.exe

@bartstaa
Copy link

You need to run: npm install in the repo folder: See pr: #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants