-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Error: Cannot find module 'object-keys' #884
Comments
For me the only way to be able to build it successfully was to do the following:
for some reason some modules seem to not correctly installed or the versions are wrong so I fixed it with:
and then build and run:
|
I no longer get the missing object-keys error. Now I get the following:
I tried adding is-arguments as you did object-keys, but I still get the same error. I must be missing something. |
I was able to get it to work with the following changes:
This was kind of a pain in the ass. Is there a more elegant way to fix it? |
Are you trying to build via make-desktop or npm run? The latter is the right way. |
I'm using npm run. |
Ah yes, so object-keys likely has other dependencies which need to be manually copied over. I agree, it's dirty. I'll look at cleaning it up when I am back in town (end of month). More interestingly, I wonder why linux builds have this issue. I don't see it while building on my mac. |
That's odd. I built it on my Hackintosh and saw the same problem. When I use my new package.json it works correctly. |
I see - then maybe I need to try with a clean build. |
Can verify that @neillbell patch works on my system. |
@neillbell can you do a PR please? I'll merge for now |
Sure thing. |
#885 Fixed this. |
Platform & OS Version
Linux red 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux
The version of zmNinja you are reporting:
Release 1.3.86
The version and OS of ZoneMinder you are using:
1.33.16, Linux zoneminder 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux
Device details:
Desktop
Details
When I try to run
dist/zmninjapro-1.3.86-linux-x86_64.AppImage
after a successful build withnpm run dist-lin
I get:Thanks!
The text was updated successfully, but these errors were encountered: