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

Path error when building on Windows #26

Closed
jkudish opened this issue Mar 6, 2016 · 8 comments
Closed

Path error when building on Windows #26

jkudish opened this issue Mar 6, 2016 · 8 comments
Labels

Comments

@jkudish
Copy link

jkudish commented Mar 6, 2016

I am getting a path error when I try to build on a Windows machine. It seems to be double-including the project path for some reason:

Error: Path to copy doesn't exist 
C:\Users\*username*\*appfolder*\Users\*username*\*appfolder*\node_modules\electron-winstaller\vendor\Update.exe]

The correct path should be:

C:\Users\*username*\*appfolder*\node_modules\electron-winstaller\vendor\Update.exe

Where *username* is my Windows machine username and *appfolder* is the root folder of the app.

@jkudish
Copy link
Author

jkudish commented Mar 6, 2016

My settings are:

appDirectory: './release/[name of the app]-win32-x64',
outputDirectory: './release/windows',

@anaisbetts
Copy link
Contributor

We're working on this bug at the moment, thanks for the report

@jkudish
Copy link
Author

jkudish commented Mar 6, 2016

👍

@lukeapage lukeapage added the bug label Mar 6, 2016
@JonathonAshworth
Copy link

Is there a workaround for this?

@develar
Copy link
Contributor

develar commented Mar 8, 2016

@JonathonAshworth Use electron-builder We use our own fork.

@havenchyk
Copy link
Contributor

@kevinsawicki can be closed after #22

@kevinsawicki
Copy link
Contributor

Closing this out, this should be fixed in 2.0.5 which was just published

@93Evolution
Copy link

ฉันได้รับข้อผิดพลาดเส้นทางเมื่อพยายามสร้างบนเครื่อง Windows ดูเหมือนว่าจะเป็นสองครั้งรวมถึงเส้นทางโครงการด้วยเหตุผลบางอย่าง:

Error: Path to copy doesn't exist 
C:\Users\*username*\*appfolder*\Users\*username*\*appfolder*\node_modules\electron-winstaller\vendor\Update.exe]

เส้นทางที่ถูกต้องควรเป็น:

C:\Users\*username*\*appfolder*\node_modules\electron-winstaller\vendor\Update.exe

*username*ชื่อผู้ใช้เครื่อง Windows ของฉันอยู่ที่ไหนและ*appfolder*เป็นโฟลเดอร์รูทของแอป

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

No branches or pull requests

8 participants