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 start after build #788

Closed
blackPantherOS opened this issue Mar 7, 2019 · 3 comments
Closed

Unable start after build #788

blackPantherOS opened this issue Mar 7, 2019 · 3 comments

Comments

@blackPantherOS
Copy link

Platform & OS Version

blackPanther OS v18.1 64bit

The version of zmNinja you are reporting:
1.3.50

The version of ZoneMinder you are using:

./zmNinja
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'electron-window-state'
at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
at Function.Module._resolveFilename (/home/build/rpmbuild/SOURCES/zmNinja-1.3.050/desktop/zmNinja-linux64bit/resources/electron.asar/common/reset-search-paths.js:43:12)
at Function.Module._load (internal/modules/cjs/loader.js:510:25)
at Module.require (internal/modules/cjs/loader.js:640:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/build/rpmbuild/SOURCES/zmNinja-1.3.050/desktop/zmNinja-linux64bit/resources/app/electron_js/main.js:2:27)
at Object. (/home/build/rpmbuild/SOURCES/zmNinja-1.3.050/desktop/zmNinja-linux64bit/resources/app/electron_js/main.js:296:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
at Module.load (internal/modules/cjs/loader.js:602:32)

Full output with missing componens
https://pastebin.com/hqZ8a28S

Thanks!

@welcome
Copy link

welcome bot commented Mar 7, 2019

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond.

@pliablepixels
Copy link
Member

  1. You seem to be building from source. Why not just download the binary? https://github.com/pliablepixels/zmNinja/releases

  2. You are using an old build process (and you probably forgot npm install && bower install)
    See https://github.com/pliablepixels/zmNinja/wiki/Running-zmNinja-from-Source

@blackPantherOS
Copy link
Author

Hi, Thanks.
I forget that the scripts in source archive is deprecated I would like to notify to you sometimes.
The build and start working fine when i following your building steps

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

No branches or pull requests

2 participants