Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

set property 'setting' of undefined at wjs.addPlaylist #156

Open
kozarevic opened this issue Feb 15, 2022 · 6 comments
Open

set property 'setting' of undefined at wjs.addPlaylist #156

kozarevic opened this issue Feb 15, 2022 · 6 comments

Comments

@kozarevic
Copy link

This is same issue discussed before but it not works for me when app is built using electron-builder tho works fine when i start it with npm start but whenever i make installer and install app on Windows it shows this error when i try to play something:

my main.js


let chimeraPath;
if (process.platform === 'win32') {
chimeraPath = require('path').join(__dirname, 'node_modules/wcjs-prebuilt/bin/plugins');
process.env['VLC_PLUGIN_PATH'] = chimeraPath;
}

electron version 11.1.0

@RSATom
Copy link
Owner

RSATom commented Feb 16, 2022

Are you really have something in node_modules/wcjs-prebuilt/bin/plugins after app install?

@kozarevic
Copy link
Author

Yes there are plugins here is plugin folder content

image

like i said it works but when ap is packaged with electron builder it gives me that error when i try to play something

@RSATom
Copy link
Owner

RSATom commented Feb 16, 2022

The most possible reason Electron just can't find WebChimera.js.node or libvlc.dll or any libvlc plugin by some reason. It can be wrong path used, or just missing files.

@RSATom
Copy link
Owner

RSATom commented Feb 16, 2022

And it's important to have all that files directly on disk (i.e. not packed to .asar)

@RSATom
Copy link
Owner

RSATom commented Feb 16, 2022

And please keep in mind, this project is in "abandoned" state. I.e. I'm not working on it anymore...

@kozarevic
Copy link
Author

Yeah i understand the issue now, thank you

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

No branches or pull requests

2 participants