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

data folder disappearing when packaging for electron #37

Open
whitmer opened this issue Sep 4, 2018 · 1 comment
Open

data folder disappearing when packaging for electron #37

whitmer opened this issue Sep 4, 2018 · 1 comment

Comments

@whitmer
Copy link

whitmer commented Sep 4, 2018

I'm pretty new to Electron/electron-packager/package.json so I don't know enough about its bowels to know what's going on exactly, but somehow when I package an Electron app up that uses psl, it'll copy over index.js and the other files, but the data folder gets lots in the process and I have to manually copy it over for everything to work. If I do then everything is roses, but if not then obviously index.js will fail when it tries to require the json file.

If anyone has a specific pointer for how to address this, I'd be happy to try to take it on. I'm assuming it has something to do with the package.json file not properly referencing the required folder, but I don't actually know that. It's also possible electron-packager is ignoring subdirectories, in which case sorry to waste your time, I just know that in a collection of 100+ node_modules this is the only one that's failing for me.

Thanks for your help!

@onnodb
Copy link

onnodb commented Aug 10, 2020

Agree, I'm also seeing this issue, but it's only popped up very recently -- within the last couple of weeks or so. Not sure what's happening TBH.

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