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

Problem with starting Desktop (ELECTRON) #27

Open
JakubPelka opened this issue Apr 15, 2021 · 3 comments
Open

Problem with starting Desktop (ELECTRON) #27

JakubPelka opened this issue Apr 15, 2021 · 3 comments

Comments

@JakubPelka
Copy link

JakubPelka commented Apr 15, 2021

Hi,
I used already to test PD on other device and now I decided to install it on another two Windows PC.
I installed Node JS with all necessary extensions (I think so at least), and I try to start PotreeDesktop.bat with admin rights.
But instead of starting new window with Potree I got error:

Error

Error is just saying that it wasn't possible to find ./..... Check name and try again.

Have you any idea why? It is a problem on both 2 computers I am trying to install it right now.
Will be glad for any tips and suggestions.
Jakub

@midnight-dev
Copy link

Check the current directory. It appears your command prompt has system32 as the context, so any relevant paths like ./node_modules/ will try looking inside system32 instead of the PD folder.

@Backstree
Copy link

you must insatll Electron by Node.js

@mikke1sen
Copy link

@JakubPelka Hej. I have ran into the save issues and solved it. The path is given in the bat file by default is either wrong and in linux / format. Very annoying. I was able to launch it by editing bat file in this way:

cd "C:\Users\USERNAME\AppData\Roaming\npm\node_modules\electron\dist"
start electron.exe "C:\PATHTOPOTREE\PotreeDesktop-master\main.js"

Here I have the emtpy Potree Desktop window open and ready for drag.n.drop. However, when I drag and drop smth it results nothing, so this is the next issue I need to fix. Maybe, bad Laz files.

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

4 participants